System

group group_system_config_system_functions

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

Functions

void SystemInit(void)

Initializes the system:

  • Restores FLL registers to the default state.

  • 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().

void SystemCoreClockUpdate(void)

Gets core clock frequency and updates SystemCoreClock.

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

Gets core clock frequency and updates SystemCoreClock.

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