PX4 Firmware
PX4 Autopilot Software http://px4.io
clock.hpp File Reference
#include <uavcan_kinetis/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_kinetis::clock::UtcSyncParams
 UTC clock synchronization parameters. More...
 
class  uavcan_kinetis::SystemClock
 Adapter for uavcan::ISystemClock. More...
 

Namespaces

 uavcan_kinetis
 
 uavcan_kinetis::clock
 

Functions

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