Class template implementing the sys pll clock element.
The Sys PLL can either operate in the enabled mode where the PLL and the phase fractional divider are enabled, or it can operate in bypass mode, where both PLL and phase fractional divider are clock gated. When the Sys PLL clock tree gets disabled, both PLL and phase fractional divider will be clock gated.
Template argument ElementType
can be of class ElementBlocking
or ElementNonBlockingCannotFail
.
Public Member Functions | |
constexpr | ClockMcuxpressoSysPll (ElementType &source, const clock_sys_pll_config_t &config, uint8_t sys_pfd0_divider, uint8_t sys_pfd1_divider, uint8_t sys_pfd2_divider, uint8_t sys_pfd3_divider) |
Constructor specifying the configuration for the enabled Sys PLL. | |
constexpr | ClockMcuxpressoSysPll (ElementType &source, sys_pll_src_t bypass_source) |
Constructor to place the Sys PLL into bypass mode. | |
![]() | |
constexpr | DependentElement (ElementType &source) |
Create a dependent clock tree element that depends on source . | |
Private Member Functions | |
Status | DoEnable () override |
Status | DoDisable () override |
Disables the Sys PLL logic. | |