PSoC 6 Peripheral Driver Library

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 SystemCoreClockUpdate (void)
 Gets core clock frequency and updates SystemCoreClock. More...
 

Function Documentation

◆ SystemInit()

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

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