µ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++.

C++ API clocks definitions. More...

Classes

class  os::rtos::adjustable_clock
 Adjustable (non-steady) clock. More...
 
class  os::rtos::clock
 Generic clock. More...
 
class  os::rtos::clock_highres
 High Resolution derived clock. More...
 
class  os::rtos::clock_rtc
 Real time clock. More...
 
class  os::rtos::clock_systick
 SysTick derived clock. More...
 

Variables

clock_highres os::rtos::hrclock
 The high resolution clock object instance. More...
 
clock_rtc os::rtos::rtclock
 The real time clock object instance. More...
 
clock_systick os::rtos::sysclock
 The system clock object instance. More...
 

Types & Constants

using os::rtos::clock::duration_t = port::clock::duration_t
 Type of variables holding clock durations. More...
 
using os::rtos::clock::timestamp_t = port::clock::timestamp_t
 Type of variables holding clock time stamps. More...
 
using os::rtos::clock::offset_t = port::clock::offset_t
 Type of variables holding clock offsets. More...
 

Detailed Description

C++ API clocks definitions.

Examples
// TODO

Types

◆ duration_t

Type of variables holding clock durations.

A numeric type intended to store a clock duration, either in ticks or in seconds.

Definition at line 72 of file os-clocks.h.

◆ offset_t

Type of variables holding clock offsets.

A numeric type intended to store a clock offset (difference to epoch), either in ticks or in seconds.

Definition at line 91 of file os-clocks.h.

◆ timestamp_t

Type of variables holding clock time stamps.

A numeric type intended to store a clock timestamp, either in ticks or in seconds.

Definition at line 81 of file os-clocks.h.

Variable Documentation

◆ hrclock

clock_highres os::rtos::hrclock

The high resolution clock object instance.

Kind of singleton instance of the clock_highres class.

Definition at line 717 of file os-clocks.cpp.

◆ rtclock

clock_rtc os::rtos::rtclock

The real time clock object instance.

Kind of singleton instance of the clock_rtc class.

Definition at line 660 of file os-clocks.cpp.

◆ sysclock

clock_systick os::rtos::sysclock

The system clock object instance.

Kind of singleton instance of the clock_systick class.

Definition at line 551 of file os-clocks.cpp.