PX4 Firmware
PX4 Autopilot Software http://px4.io
clock.hpp File Reference
#include <uavcan_stm32/build_config.hpp>
#include <uavcan/driver/system_clock.hpp>
Include dependency graph for clock.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  uavcan_stm32::clock::UtcSyncParams
 UTC clock synchronization parameters. More...
 
class  uavcan_stm32::SystemClock
 Adapter for uavcan::ISystemClock. More...
 

Namespaces

 uavcan_stm32
 
 uavcan_stm32::clock
 

Functions

void uavcan_stm32::clock::init ()
 Starts the clock. More...
 
uavcan::MonotonicTime uavcan_stm32::clock::getMonotonic ()
 Returns current monotonic time since the moment when clock::init() was called. More...
 
void uavcan_stm32::clock::setUtc (uavcan::UtcTime time)
 Sets the driver's notion of the system UTC. More...
 
uavcan::UtcTime uavcan_stm32::clock::getUtc ()
 Returns UTC time if it has been set, otherwise returns zero time. More...
 
void uavcan_stm32::clock::adjustUtc (uavcan::UtcDuration adjustment)
 Performs UTC phase and frequency adjustment. More...
 
float uavcan_stm32::clock::getUtcRateCorrectionPPM ()
 Clock rate error. More...
 
uavcan::uint32_t uavcan_stm32::clock::getUtcJumpCount ()
 Number of non-gradual adjustments performed so far. More...
 
bool uavcan_stm32::clock::isUtcLocked ()
 Whether UTC is synchronized and locked. More...
 
UtcSyncParams uavcan_stm32::clock::getUtcSyncParams ()
 UTC sync params get/set. More...
 
void uavcan_stm32::clock::setUtcSyncParams (const UtcSyncParams &params)