Class template implementing a synchronized clock mux.
This class supports:
Public Member Functions | |
| template<typename SourceType > | |
| constexpr | ClockMcuxpressoSyncSelector (SourceType &initial_source, clock_attach_id_t initial_selector, clock_attach_id_t disable_selector=kNoSelector) |
| template<typename SourceType > | |
| pw::Status | ChangeSource (SourceType &new_source, clock_attach_id_t new_selector) |
Public Member Functions inherited from pw::clock_tree::DependentElement< ElementType > | |
| template<typename SourceType > | |
| constexpr | DependentElement (SourceType &source) |
Create a dependent clock tree element that depends on source. | |
Static Public Attributes | |
| static constexpr clock_attach_id_t | kNoSelector |
Additional Inherited Members | |
Protected Member Functions inherited from pw::clock_tree::DependentElement< ElementType > | |
| template<typename SourceType > | |
| void | SetSource (SourceType &source) |
| Element & | source () |
|
inlineconstexpr |
Constructs a new ClockMcuxpressoSyncSelector.
| initial_source | The initial logical source element. This should reflect the state of the mux when this object is constructed. |
| initial_selector | The initial selector. This should reflect the state of the mux when this object is constructed. |
| disable_selector | The selector value which can be used to disable the mux. If the mux does not support such a value, pass kNoSelector. |
|
staticconstexpr |