CAT2 Peripheral Driver Library

Functions

void SystemInit (void)
 Initializes the system: disables the WDT, disables the interrupts and calls the Cy_SystemInit() function. More...
 
void Cy_SystemInit (void)
 Empty weak function. More...
 
void SystemCoreClockUpdate (void)
 Gets core clock frequency, updates SystemCoreClock, and global variables used by the Cy_SysLib_Delay(), Cy_SysLib_DelayUs(), and Cy_SysLib_DelayCycles(). More...
 

Detailed Description

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

Function Documentation

◆ SystemInit()

void SystemInit ( void  )

Initializes the system: disables the WDT, disables the interrupts and 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.

Note
Call SystemCoreClockUpdate() in this function if this function affects the HFCLK frequency.

◆ SystemCoreClockUpdate()

void SystemCoreClockUpdate ( void  )

Gets core clock frequency, updates SystemCoreClock, and global variables used by the Cy_SysLib_Delay(), Cy_SysLib_DelayUs(), and Cy_SysLib_DelayCycles().

Attention
The function must be called whenever the core clock is changed during program execution.