Basic utility macros and functions.
Macros | |
| #define | CY_UNUSED_PARAMETER(x) ( (void)(x) ) |
| #define | CY_ASSERT(x) |
Functions | |
| static void | CY_HALT () |
| #define CY_UNUSED_PARAMETER | ( | x | ) | ( (void)(x) ) |
Simple macro to supress the unused parameter warning by casting to void.
| #define CY_ASSERT | ( | x | ) |
Utility macro when neither NDEBUG or CY_NO_ASSERT is not declared to check a condition and, if false, trigger a breakpoint
|
inlinestatic |
Halt the processor in the debug state