Functions | |
void | Cy_SysClk_ClkFastSetDivider (uint8_t divider) |
Sets the clock divider for the fast clock, which sources the main processor. More... | |
uint8_t | Cy_SysClk_ClkFastGetDivider (void) |
Returns the clock divider for the fast clock. More... | |
uint32_t | Cy_SysClk_ClkFastGetFrequency (void) |
Reports the frequency of the fast clock. More... | |
void | Cy_SysClk_ClkFastSrcSetDivider (uint32_t clkFastNum, uint8_t intDiv, uint8_t fracDiv) |
Sets the clock divider for the fast clock, which sources the main processor. More... | |
void | Cy_SysClk_ClkFastSrcGetDivider (uint32_t clkFastNum, uint32_t *dividerIntValue, uint32_t *dividerFracValue) |
Returns the Integer and Fractional clock divider for the fast clock. More... | |
uint32_t | Cy_SysClk_ClkFastSrcGetFrequency (uint32_t clkFastNum) |
Reports the frequency of the fast clock. More... | |
void Cy_SysClk_ClkFastSetDivider | ( | uint8_t | divider | ) |
Sets the clock divider for the fast clock, which sources the main processor.
The source of this divider is clkHf[0].
divider | divider value between 0 and 255. Causes integer division of (divider value + 1), or division by 1 to 256. |
uint8_t Cy_SysClk_ClkFastGetDivider | ( | void | ) |
Returns the clock divider for the fast clock.
uint32_t Cy_SysClk_ClkFastGetFrequency | ( | void | ) |
Reports the frequency of the fast clock.
void Cy_SysClk_ClkFastSrcSetDivider | ( | uint32_t | clkFastNum, |
uint8_t | intDiv, | ||
uint8_t | fracDiv | ||
) |
Sets the clock divider for the fast clock, which sources the main processor.
The source of this divider is clkHf[0].
clkFastNum | 0 for CLOCK_FAST_0 and 1 for CLOCK_FAST_1 |
intDiv | Integer divider |
fracDiv | Fractional divider |
void Cy_SysClk_ClkFastSrcGetDivider | ( | uint32_t | clkFastNum, |
uint32_t * | dividerIntValue, | ||
uint32_t * | dividerFracValue | ||
) |
Returns the Integer and Fractional clock divider for the fast clock.
clkFastNum | 0 for CLOCK_FAST_0 and 1 for CLOCK_FAST_1 |
dividerIntValue | - Integer divider |
dividerFracValue | - Fractional divider |
uint32_t Cy_SysClk_ClkFastSrcGetFrequency | ( | uint32_t | clkFastNum | ) |
Reports the frequency of the fast clock.
clkFastNum | 0 for CLOCK_FAST_0 and 1 for CLOCK_FAST_1 |