Functions | |
void | Cy_SysClk_ClkTimerSetSource (cy_en_clktimer_in_sources_t source) |
Sets the source for the timer clock (clk_timer). More... | |
cy_en_clktimer_in_sources_t | Cy_SysClk_ClkTimerGetSource (void) |
Reports the source for the timer clock (clk_timer). More... | |
void | Cy_SysClk_ClkTimerSetDivider (uint8_t divider) |
Sets the divider for the timer clock (clk_timer). More... | |
uint8_t | Cy_SysClk_ClkTimerGetDivider (void) |
Reports the divider value for the timer clock (clk_timer). More... | |
void | Cy_SysClk_ClkTimerEnable (void) |
Enables the timer clock (clk_timer). More... | |
void | Cy_SysClk_ClkTimerDisable (void) |
Disables the timer clock (clk_timer). More... | |
bool | Cy_SysClk_ClkTimerIsEnabled (void) |
Reports the Enabled/Disabled status of the Timer. More... | |
uint32_t | Cy_SysClk_ClkTimerGetFrequency (void) |
Reports the frequency of the timer clock (clk_timer). More... | |
void Cy_SysClk_ClkTimerSetSource | ( | cy_en_clktimer_in_sources_t | source | ) |
Sets the source for the timer clock (clk_timer).
The timer clock can be used as a source for SYSTICK as an alternate clock and one or more of the energy profiler counters.
source | cy_en_clktimer_in_sources_t |
cy_en_clktimer_in_sources_t Cy_SysClk_ClkTimerGetSource | ( | void | ) |
Reports the source for the timer clock (clk_timer).
void Cy_SysClk_ClkTimerSetDivider | ( | uint8_t | divider | ) |
Sets the divider for the timer clock (clk_timer).
divider | Divider value; valid range is 0 to 255. Divides the selected source (Cy_SysClk_ClkTimerSetSource) by the (value + 1). |
uint8_t Cy_SysClk_ClkTimerGetDivider | ( | void | ) |
Reports the divider value for the timer clock (clk_timer).
void Cy_SysClk_ClkTimerEnable | ( | void | ) |
Enables the timer clock (clk_timer).
The timer clock can be used as a source for SYSTICK and one or more of the energy profiler counters.
void Cy_SysClk_ClkTimerDisable | ( | void | ) |
Disables the timer clock (clk_timer).
bool Cy_SysClk_ClkTimerIsEnabled | ( | void | ) |
Reports the Enabled/Disabled status of the Timer.
uint32_t Cy_SysClk_ClkTimerGetFrequency | ( | void | ) |
Reports the frequency of the timer clock (clk_timer).