Functions | |
void | adjustUtc (uavcan::UtcDuration adjustment) |
static void | fail () |
uavcan::MonotonicTime | getMonotonic () |
uavcan::UtcDuration | getPrevUtcAdjustment () |
uavcan::UtcTime | getUtc () |
std::uint64_t | getUtcUSecFromCanInterrupt () |
void | init () |
static std::uint64_t | sampleFromCriticalSection (const volatile std::uint64_t *const value) |
Internal for the driver
void uavcan_lpc11c24::clock::adjustUtc | ( | uavcan::UtcDuration | adjustment | ) |
uavcan::MonotonicTime uavcan_lpc11c24::clock::getMonotonic | ( | ) |
Returns current monotonic time passed since the moment when clock::init() was called. Note that both monotonic and UTC clocks are implemented using SysTick timer.
uavcan::UtcDuration uavcan_lpc11c24::clock::getPrevUtcAdjustment | ( | ) |
uavcan::UtcTime uavcan_lpc11c24::clock::getUtc | ( | ) |
std::uint64_t uavcan_lpc11c24::clock::getUtcUSecFromCanInterrupt | ( | ) |
void uavcan_lpc11c24::clock::init | ( | ) |