STM8S/A Standard Peripherals Drivers: RST_Public_Functions

STM8S/A

STM8S/A Standard Peripherals Drivers
RST_Public_Functions

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 IS_RST_FLAG_OK, and RST.

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 IS_RST_FLAG_OK, RESET, RST, and SET.

STM8 Standard Peripherals Library: Footer

 

 

 

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