MTB CAT1 Peripheral driver library

General Description

Functions

void Cy_SysClk_ClkLfSetSource (cy_en_clklf_in_sources_t source)
 Sets the source for the low frequency clock(clkLf). More...
 
cy_en_clklf_in_sources_t Cy_SysClk_ClkLfGetSource (void)
 Reports the source for the low frequency clock (clkLf). More...
 

Function Documentation

◆ Cy_SysClk_ClkLfSetSource()

void Cy_SysClk_ClkLfSetSource ( cy_en_clklf_in_sources_t  source)

Sets the source for the low frequency clock(clkLf).

Parameters
sourcecy_en_clklf_in_sources_t
Note
The watchdog timer (WDT) must be unlocked before calling this function.
It takes four cycles of the originally selected clock to switch away from it. Do not disable the original clock during this time.
Function Usage
/* Scenario: LFCLK source needs to be updated to the ILO. */
{
}

◆ Cy_SysClk_ClkLfGetSource()

cy_en_clklf_in_sources_t Cy_SysClk_ClkLfGetSource ( void  )

Reports the source for the low frequency clock (clkLf).

Returns
cy_en_clklf_in_sources_t
Function Usage
/* Scenario: LFCLK source needs to be updated to the ILO. */
{
}