2.14.14 CLK_PCKConfig Function

C

void CLK_PCKConfig(uint8_t pckID, PCK_CLK_SRC clkSrc, uint8_t prescaler);

Summary

Configures Programmable clock parameters

Description

This function configures given programmable clock parameters run-time

Precondition

None.

Parameters

ParamDescription
pckIDProgrammable clock ID
clkSrcProgrammable clock source
prescalerProgrammable clock prescaler

Returns

None.

Example

CLK_Initialize();
CLK_PCKConfig(0U, PCK_CLK_SRC_MAINCK, 2U);

Remarks

Application must take care of dependencies when clock parameters are changed run-time.