PSoC 4 Peripheral Driver Library - Alpha

General Description

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

Functions

void SystemInit (void)
 Initializes the system: More...
 
void Cy_SystemInit (void)
 Empty weak function. More...
 
void SystemCoreClockUpdate (void)
 Gets core clock frequency and updates SystemCoreClock. More...
 

Function Documentation

◆ SystemInit()

void SystemInit ( void  )

Initializes the system:

  • Unlocks and disables WDT.
  • Disables interrupts.
  • Calls the Cy_SystemInit() function.
Note
This function does not initialize clocks. To set up clocks in pre-main, define strong function Cy_SystemInit with your custom clock initialization.

◆ Cy_SystemInit()

void Cy_SystemInit ( void  )

Empty weak function.

The application code provides a strong function for the actual implementation.

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