Functions | |
__STATIC_INLINE void | Cy_SysClk_ClkPeriSetDivider (uint8_t divider) |
Sets the clock divider for the peripheral clock tree. More... | |
__STATIC_INLINE uint8_t | Cy_SysClk_ClkPeriGetDivider (void) |
Returns the clock divider of the peripheral (peri) clock. More... | |
__STATIC_INLINE uint32_t | Cy_SysClk_ClkPeriGetFrequency (void) |
Reports the frequency of the peri clock. More... | |
__STATIC_INLINE 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. |
__STATIC_INLINE uint8_t Cy_SysClk_ClkPeriGetDivider | ( | void | ) |
Returns the clock divider of the peripheral (peri) clock.
__STATIC_INLINE uint32_t Cy_SysClk_ClkPeriGetFrequency | ( | void | ) |
Reports the frequency of the peri clock.