Class implementing the low power oscillator clock source. More...
#include <clock_tree.h>
Private Member Functions | |
Status | DoEnable () final |
Enable low power oscillator. | |
Status | DoDisable () final |
Disable low power oscillator. | |
Additional Inherited Members | |
![]() | |
constexpr | Element (bool may_block=false) |
uint32_t | ref_count () const |
Get reference count for this clock tree element. | |
bool | may_block () const |
Check whether acquiring or releasing the element may block. | |
Element (const Element &)=delete | |
Element (const Element &&)=delete | |
Element & | operator= (const Element &)=delete |
Element & | operator= (const Element &&)=delete |
![]() | |
virtual Status | Acquire ()=0 |
virtual Status | Release ()=0 |
uint32_t | IncRef () |
Increment reference count and return incremented value. | |
uint32_t | DecRef () |
Decrement reference count and return decremented value. | |
virtual Status | DoEnable ()=0 |
Function called when the clock tree element needs to get enabled. | |
virtual Status | DoDisable () |
Class implementing the low power oscillator clock source.
|
inlinefinalprivatevirtual |
Disable low power oscillator.
Reimplemented from pw::clock_tree::Element.
|
inlinefinalprivatevirtual |
Enable low power oscillator.
Implements pw::clock_tree::Element.