PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Adapter for uavcan::ISystemClock. More...
#include <clock.hpp>
Public Member Functions | |
virtual uavcan::MonotonicTime | getMonotonic () const |
virtual uavcan::UtcTime | getUtc () const |
Static Public Member Functions | |
static SystemClock & | instance () |
Calls clock::init() as needed. More... | |
Private Member Functions | |
SystemClock () | |
virtual void | adjustUtc (uavcan::UtcDuration adjustment) |
|
inlineprivatevirtual |
Definition at line 107 of file clock.hpp.
References uavcan_stm32::clock::adjustUtc().
|
inlinevirtual |
Definition at line 110 of file clock.hpp.
References uavcan_stm32::clock::getMonotonic().
|
inlinevirtual |
Definition at line 111 of file clock.hpp.
References uavcan_stm32::clock::getUtc(), and ll40ls::instance.
|
static |
Calls clock::init() as needed.
This function is thread safe.
Referenced by UavcanEsc::start().