1.8.3.11 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

Param Description
pckID Programmable clock ID
clkSrc Programmable clock source
prescaler Programmable 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.