STM8S/A Standard Peripherals Drivers
|
ITC_Private_Macros
Macros used by the assert function in order to check the different functions parameters. More...
Defines | |
#define | IS_ITC_INTERRUPTS_DISABLED (ITC_GetSoftIntStatus() == CPU_SOFT_INT_DISABLED) |
#define | IS_ITC_IRQ_OK(IRQ) ((IRQ) <= (uint8_t)24) |
#define | IS_ITC_PRIORITY_OK(PriorityValue) |
Detailed Description
Macros used by the assert function in order to check the different functions parameters.
Define Documentation
#define IS_ITC_INTERRUPTS_DISABLED (ITC_GetSoftIntStatus() == CPU_SOFT_INT_DISABLED) |
Definition at line 161 of file stm8s_itc.h.
Referenced by ITC_SetSoftwarePriority().
#define IS_ITC_IRQ_OK | ( | IRQ | ) | ((IRQ) <= (uint8_t)24) |
Definition at line 151 of file stm8s_itc.h.
Referenced by ITC_GetSoftwarePriority(), and ITC_SetSoftwarePriority().
#define IS_ITC_PRIORITY_OK | ( | PriorityValue | ) |
Value:
(((PriorityValue) == ITC_PRIORITYLEVEL_0) || \ ((PriorityValue) == ITC_PRIORITYLEVEL_1) || \ ((PriorityValue) == ITC_PRIORITYLEVEL_2) || \ ((PriorityValue) == ITC_PRIORITYLEVEL_3))
Definition at line 154 of file stm8s_itc.h.
Referenced by ITC_SetSoftwarePriority().