PSOC E8XXGP Device Support Library
Assert Classes and Levels

General Description

Define end of shared data to be placed to the SOCMEMSRAM area by the linker.

Define start of function placed to the bootstrap area by the linker Define end of function placed to the bootstrap area by the linker Placed initialized global variable to the bootstrap data area by the linker Placed un-init global variable to the bootstrap bss area by the linker

Defines for the Assert Classes and Levels

Macros

#define CY_ASSERT_CLASS_1   (1U)
 Class 1 - The highest class, safety-critical functions which rely on parameters that could be changed between different PSoC devices.
 
#define CY_ASSERT_CLASS_2   (2U)
 Class 2 - Functions that have fixed limits such as counter periods (16-bits/32-bits etc.)
 
#define CY_ASSERT_CLASS_3   (3U)
 Class 3 - Functions that accept enums as constant parameters.
 
#define CY_ASSERT_LEVEL   CY_ASSERT_CLASS_3
 The user-definable assert level from compiler command-line argument (similarly to DEBUG / NDEBUG)
 
#define CY_ASSERT_L1(x)   CY_ASSERT(x)
 Assert Level 1.
 
#define CY_ASSERT_L2(x)   CY_ASSERT(x)
 Assert Level 2.
 
#define CY_ASSERT_L3(x)   CY_ASSERT(x)
 Assert Level 3.