STM8S/A Standard Peripherals Firmware Library
|
Functions | |
void | RST_ClearFlag (RST_Flag_TypeDef RST_Flag) |
Clears the specified RST flag. | |
FlagStatus | RST_GetFlagStatus (RST_Flag_TypeDef RST_Flag) |
Checks whether the specified RST flag is set or not. |
Function Documentation
void RST_ClearFlag | ( | RST_Flag_TypeDef | RST_Flag | ) |
Clears the specified RST flag.
- Parameters:
-
RST_Flag : specify the reset flag to clear. This parameter can be a value of RST_FLAG_TypeDef.
- Return values:
-
None
Definition at line 69 of file stm8s_rst.c.
References assert_param, IS_RST_FLAG_OK, and RST.
Referenced by main().
FlagStatus RST_GetFlagStatus | ( | RST_Flag_TypeDef | RST_Flag | ) |
Checks whether the specified RST flag is set or not.
- Parameters:
-
RST_Flag : specify the reset flag to check. This parameter can be a value of RST_FLAG_TypeDef.
- Return values:
-
FlagStatus,: status of the given RST flag.
Definition at line 54 of file stm8s_rst.c.
References assert_param, IS_RST_FLAG_OK, RESET, RST, and SET.
Referenced by main().