µOS++ IIIe Reference  v6.3.15
“Perfekt ist nicht gut genug”
The third edition of µOS++, a POSIX inspired open source system, written in C++.
os::estd::chrono::systick_clock Class Reference

Public Types

using duration = std::chrono::duration< rep, period >
 basic duration type of clock More...
using period = std::ratio< 1, os::rtos::clock_systick::frequency_hz >
 std::ratio type representing the tick period of the clock, in seconds More...
using rep = rtos::clock_systick::timestamp_t
 type of variable holding the tick counter More...
using sleep_duration = std::chrono::duration< sleep_rep, period >
using sleep_rep = rtos::clock_systick::duration_t
using time_point = std::chrono::time_point< systick_clock >
 basic time_point type of clock More...

Static Public Member Functions

static time_point now () noexcept
static void sleep_for (sleep_rep ticks)

Static Public Attributes

static constexpr bool has_sleep_for { true }
static constexpr bool is_steady { true }

Detailed Description

Definition at line 74 of file chrono.


◆ duration

using os::estd::chrono::systick_clock::duration = std::chrono::duration<rep, period>

basic duration type of clock

Definition at line 84 of file chrono.

◆ period

std::ratio type representing the tick period of the clock, in seconds

Definition at line 82 of file chrono.

◆ rep

type of variable holding the tick counter

Definition at line 79 of file chrono.

◆ sleep_duration

Definition at line 85 of file chrono.

◆ sleep_rep

◆ time_point

basic time_point type of clock

Definition at line 87 of file chrono.

Member Function Documentation

◆ now()

systick_clock::time_point os::estd::chrono::systick_clock::now ( void  )
time_point representing the current value of the clock

Definition at line 55 of file chrono.cpp.

◆ sleep_for()

void os::estd::chrono::systick_clock::sleep_for ( sleep_rep  ticks)

Definition at line 243 of file chrono.

Member Data Documentation

◆ has_sleep_for

constexpr bool os::estd::chrono::systick_clock::has_sleep_for { true }

Definition at line 91 of file chrono.

◆ is_steady

constexpr bool os::estd::chrono::systick_clock::is_steady { true }

Definition at line 89 of file chrono.

The documentation for this class was generated from the following files: