Class implementing an FRO clock source. More...
#include <clock_tree.h>
Public Member Functions | |
constexpr | ClockMcuxpressoFro (clock_fro_output_en_t fro_output) |
Constructor specifying the FRO divider output to manage. | |
![]() | |
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 |
Private Member Functions | |
Status | DoEnable () final |
Enable this FRO divider. | |
Status | DoDisable () final |
Disable this FRO divider. | |
Additional Inherited Members | |
![]() | |
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 an FRO clock source.
|
inlinefinalprivatevirtual |
Disable this FRO divider.
Reimplemented from pw::clock_tree::Element.
|
inlinefinalprivatevirtual |
Enable this FRO divider.
Implements pw::clock_tree::Element.