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.
Private Member Functions | |
Status | DoAcquireLocked () final |
Status | DoReleaseLocked () final |