#include <clock_tree.h>
Public Member Functions | |
constexpr | ClockMcuxpressoDivider (ElementType &source, clock_div_name_t divider_name, uint32_t divider) |
![]() | |
constexpr | ClockDividerElement (ElementType &source, uint32_t divider) |
Status | Set (uint32_t divider) override |
![]() | |
constexpr | DependentElement (ElementType &source) |
Create a dependent clock tree element that depends on source . | |
![]() | |
constexpr | ClockDivider (Element &element) |
virtual Status | Set (uint32_t divider)=0 |
Element & | element () const |
Return the element implementing this interface. | |
Private Member Functions | |
Status | DoEnable () final |
Set the divider configuration. | |
Additional Inherited Members | |
![]() | |
uint32_t | divider () const |
Get current divider value. | |
![]() | |
Status | UpdateSource (ElementType &new_source, bool permit_change_if_in_use) |
Class template implementing the clock divider element.
Template argument ElementType
can be of class ElementBlocking
or ElementNonBlockingCannotFail
.
|
inlineconstexpr |
Constructor specifying the source clock, the name of the divder and the divider setting.