Pigweed
C/C++ API Reference
|
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. | |
Additional Inherited Members | |
![]() | |
Status | UpdateSource (ElementType &new_source, bool permit_change_if_in_use) |
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
.
|
inlineconstexpr |
Constructor specifying the dependent clock tree element to enable the clock_ip_name_t
clock source.