1.8.3.2 CLK_Core1ClkConfig Function

C

void CLK_Core1ClkConfig(CPU1_CLK_SRC clkSrc, CPU1_CLK_PRESCALER prescaler, bool mck1DivBy2 );

Summary

Configures core 1 clock

Description

This function configures core 1 clock parameters run-time.

Precondition

None.

Parameters

Param Description
clkSrc CPU1 clock source
prescaler CPU1 clock prescaler
mck1DivBy2 MCK1 clock frequency division for MCK1DIV clock

Returns

None.

Example

CLK_Initialize();
CLK_Core1ClkConfig(CPU1_CLK_SRC_MAINCK, CPU1_CLK_PRESCALER_CLK_1, 2U);

Remarks

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