Class template implementing the clock_ip_name_t
clocks. Managing clock_ip_name_t
clocks with the clock tree allows to save power when FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL
is set.
Template argument ElementType
can be of class ElementBlocking
or ElementNonBlockingCannotFail
.
Public Member Functions | |
constexpr | ClockMcuxpressoClockIp (ElementType &source, clock_ip_name_t clock) |
![]() | |
constexpr | DependentElement (ElementType &source) |
Create a dependent clock tree element that depends on source . | |
Private Member Functions | |
Status | DoEnable () final |
Enable the clock. | |
Status | DoDisable () final |
Disable the clock. | |