PSoC 6 Peripheral Driver Library

General Description

Functions

__STATIC_INLINE void Cy_SysClk_ClkBakSetSource (cy_en_clkbak_in_sources_t source)
 Sets the source for the backup domain clock (clk_bak). More...
 
__STATIC_INLINE cy_en_clkbak_in_sources_t Cy_SysClk_ClkBakGetSource (void)
 Reports the source for the backup domain clock (clk_bak). More...
 

Function Documentation

◆ Cy_SysClk_ClkBakSetSource()

__STATIC_INLINE void Cy_SysClk_ClkBakSetSource ( cy_en_clkbak_in_sources_t  source)

Sets the source for the backup domain clock (clk_bak).

Parameters
sourcecy_en_clkbak_in_sources_t
Note
clkLf is not available in all power modes. For this reason, WCO is the preferred source. If the WCO is routed through the clkLf multiplexer (see Cy_SysClk_ClkLfSetSource), select WCO directly - do not select clkLf.
Function Usage
/* Scenario: Backup clock source needs to be updated to the WCO. */
{
}

◆ Cy_SysClk_ClkBakGetSource()

__STATIC_INLINE cy_en_clkbak_in_sources_t Cy_SysClk_ClkBakGetSource ( void  )

Reports the source for the backup domain clock (clk_bak).

Returns
cy_en_clkbak_in_sources_t
Function Usage
/* Scenario: Backup clock source needs to be updated to the WCO. */
{
}