MTB CAT1 Peripheral driver library
System Functions

General Description

The following system functions implement CMSIS Core functions. Refer to the CMSIS documentation for more details.

Functions

void SystemInit (void)
 For CAT1A: More...
 
void SystemCoreClockUpdate (void)
 Gets core clock frequency and updates SystemCoreClock, cy_Hfclk0FreqHz, and cy_PeriClkFreqHz. More...
 

Function Documentation

◆ SystemInit()

void SystemInit ( void  )

For CAT1A:

Initializes the system:

  • Restores FLL registers to the default state for single core devices.
  • Unlocks and disables WDT.
  • Calls Cy_PDL_Init() function to define the driver library.
  • Calls the Cy_SystemInit() function, if compiled from PSoC™ Creator.
  • Calls Cy_PRA_Init() for PSoC™ 64 devices.
  • Calls SystemCoreClockUpdate().

For CAT1B:

Initializes the system:

  • Unlocks and disables WDT.
  • Calls Cy_PDL_Init() function to define the driver library.
  • Calls the Cy_SystemInit() function.
  • Calls SystemCoreClockUpdate().

For CAT1C:

Initializes the system:

◆ SystemCoreClockUpdate()

void SystemCoreClockUpdate ( void  )

Gets core clock frequency and updates SystemCoreClock, cy_Hfclk0FreqHz, and cy_PeriClkFreqHz.

Updates global variables used by the Cy_SysLib_Delay(), Cy_SysLib_DelayUs(), and Cy_SysLib_DelayCycles().