2.14.19 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

ParamDescription
pllIDPLL ID
clkSrcPLL clock source
mulMultiplier factor value for PLL
fracrFractional loop divider setting
output0DivDivider for PMC output 0
output1DivDivider 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.