PX4 Firmware
PX4 Autopilot Software http://px4.io
uavcan_kinetis::SystemClock Class Reference

Adapter for uavcan::ISystemClock. More...

#include <clock.hpp>

Inheritance diagram for uavcan_kinetis::SystemClock:
Collaboration diagram for uavcan_kinetis::SystemClock:

Public Member Functions

virtual uavcan::MonotonicTime getMonotonic () const
 
virtual uavcan::UtcTime getUtc () const
 

Static Public Member Functions

static SystemClockinstance ()
 Calls clock::init() as needed. More...
 

Private Member Functions

 SystemClock ()
 
virtual void adjustUtc (uavcan::UtcDuration adjustment)
 

Detailed Description

Adapter for uavcan::ISystemClock.

Definition at line 105 of file clock.hpp.

Constructor & Destructor Documentation

◆ SystemClock()

uavcan_kinetis::SystemClock::SystemClock ( )
inlineprivate

Definition at line 108 of file clock.hpp.

Member Function Documentation

◆ adjustUtc()

virtual void uavcan_kinetis::SystemClock::adjustUtc ( uavcan::UtcDuration  adjustment)
inlineprivatevirtual

Definition at line 112 of file clock.hpp.

References uavcan_kinetis::clock::adjustUtc().

Here is the call graph for this function:

◆ getMonotonic()

virtual uavcan::MonotonicTime uavcan_kinetis::SystemClock::getMonotonic ( ) const
inlinevirtual

Definition at line 118 of file clock.hpp.

References uavcan_kinetis::clock::getMonotonic().

Here is the call graph for this function:

◆ getUtc()

virtual uavcan::UtcTime uavcan_kinetis::SystemClock::getUtc ( ) const
inlinevirtual

Definition at line 122 of file clock.hpp.

References uavcan_kinetis::clock::getUtc(), and ll40ls::instance.

Here is the call graph for this function:

◆ instance()

static SystemClock& uavcan_kinetis::SystemClock::instance ( )
static

Calls clock::init() as needed.

This function is thread safe.


The documentation for this class was generated from the following file: