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

Adapter for uavcan::ISystemClock. More...

#include <clock.hpp>

Inheritance diagram for uavcan_stm32::SystemClock:
Collaboration diagram for uavcan_stm32::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 103 of file clock.hpp.

Constructor & Destructor Documentation

◆ SystemClock()

uavcan_stm32::SystemClock::SystemClock ( )
inlineprivate

Definition at line 105 of file clock.hpp.

Member Function Documentation

◆ adjustUtc()

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

Definition at line 107 of file clock.hpp.

References uavcan_stm32::clock::adjustUtc().

Here is the call graph for this function:

◆ getMonotonic()

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

Definition at line 110 of file clock.hpp.

References uavcan_stm32::clock::getMonotonic().

Here is the call graph for this function:

◆ getUtc()

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

Definition at line 111 of file clock.hpp.

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

Here is the call graph for this function:

◆ instance()

static SystemClock& uavcan_stm32::SystemClock::instance ( )
static

Calls clock::init() as needed.

This function is thread safe.

Referenced by UavcanEsc::start().

Here is the caller graph for this function:

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