Sets the clock divider for the fast clock, which sources the main processor.
The source of this divider is clkHf[0].
- Parameters
-
divider | divider value between 0 and 255. Causes integer division of (divider value + 1), or division by 1 to 256. |
- Note
- Call SystemCoreClockUpdate after this function calling.
-
Call Cy_SysLib_SetWaitStates before calling this function if CLK_FAST frequency is increasing.
-
Call Cy_SysLib_SetWaitStates after calling this function if CLK_FAST frequency is decreasing.
- Function Usage