C/C++ API Reference
Loading...
Searching...
No Matches
pw::clock_tree::ClockSource< ElementType > Class Template Reference

Overview

template<typename ElementType>
class pw::clock_tree::ClockSource< ElementType >

Abstract class template of a clock tree element that provides a clock source.

A ClockSource clock tree element does not depend on any other clock tree element, but provides a clock to the system that is not derived from another clock.

Class implementations of ClockSource must implement DoAcquireLocked and DoReleaseLocked functions. For clock sources that only get enabled / configured, it is sufficient to only override the DoEnable function, otherwise it is required to override the DoDisable function to disable the clock source.

Template argument ElementType can be of class ElementBlocking, ElementNonBlockingCannotFail or ElementNonBlockingMightFail.

Inheritance diagram for pw::clock_tree::ClockSource< ElementType >:

Private Member Functions

Status DoAcquireLocked () final
 
Status DoReleaseLocked () final
 

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