STM8S/A Standard Peripherals Firmware Library: RST_Private_Macros

STM8S/A

STM8S/A Standard Peripherals Firmware Library
RST_Private_Macros

Defines

#define IS_RST_FLAG_OK(FLAG)
 Macro used by the assert function to check the different functions parameters.

Define Documentation

#define IS_RST_FLAG_OK (   FLAG)
Value:
(((FLAG) == RST_FLAG_EMCF) || \
                              ((FLAG) == RST_FLAG_SWIMF)  ||\
                              ((FLAG) == RST_FLAG_ILLOPF) ||\
                              ((FLAG) == RST_FLAG_IWDGF)  ||\
                              ((FLAG) == RST_FLAG_WWDGF))

Macro used by the assert function to check the different functions parameters.

Macro used by the assert function to check the different RST flags.

Definition at line 66 of file stm8s_rst.h.

Referenced by RST_ClearFlag(), and RST_GetFlagStatus().

STM8 Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM8 8-bit Microcontrollers platform visit www.st.com