1.8.3.17 CLK_PLLConfig Function
C
void CLK_PLLConfig(PLL_ID pllID, uint8_t clkSrc, uint32_t mul, uint32_t fracr,
uint8_t output0Div, uint8_t output1Div);
Summary
Configures PLL parameters
Description
This function configures given PLL clock parameters run-time.
Precondition
None.
Parameters
Param | Description |
---|---|
pllID | PLL ID |
clkSrc | PLL clock source |
mul | Multiplier factor value for PLL |
fracr | Fractional loop divider setting |
output0Div | Divider for PMC output 0 |
output1Div | Divider for PMC output PLLACK1 |
Returns
None.
Example
CLK_Initialize(); CLK_PLLConfig(PLLA, 0U, 12206U, 131072U, 19U, 1U);
Remarks
Application must take care of dependencies when clock parameters are changed run-time.