Functions | |
void | Cy_SysClk_ClkPeriSetDivider (uint8_t divider) |
Sets the clock divider for the peripheral clock tree. More... | |
uint32_t | Cy_SysClk_ClkPeriGetFrequency (void) |
Reports the frequency of the peri clock. More... | |
uint8_t | Cy_SysClk_ClkPeriGetDivider (void) |
Returns the clock divider of the peripheral (peri) clock. More... | |
void Cy_SysClk_ClkPeriSetDivider | ( | uint8_t | divider | ) |
Sets the clock divider for the peripheral clock tree.
All peripheral clock dividers are sourced from this clock. Also the Cortex M0+ clock divider is sourced from this clock. 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. |
uint32_t Cy_SysClk_ClkPeriGetFrequency | ( | void | ) |
Reports the frequency of the peri clock.
uint8_t Cy_SysClk_ClkPeriGetDivider | ( | void | ) |
Returns the clock divider of the peripheral (peri) clock.