STM8L15x Standard Peripherals Drivers
|
RST driver modules. More...
Modules | |
RST_Exported_Types | |
RST_Private_Functions | |
Defines | |
#define | RST_CR_MASK 0xD0 |
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. | |
void | RST_GPOutputEnable (void) |
Configures the reset pad as GP output. |
Detailed Description
RST driver modules.
Define Documentation
#define RST_CR_MASK 0xD0 |
Function Documentation
void RST_ClearFlag | ( | RST_FLAG_TypeDef | RST_Flag | ) |
Clears the specified RST flag.
Definition at line 115 of file stm8l15x_rst.c.
References IS_RST_FLAG, and RST.
FlagStatus RST_GetFlagStatus | ( | RST_FLAG_TypeDef | RST_Flag | ) |
Checks whether the specified RST flag is set or not.
Definition at line 93 of file stm8l15x_rst.c.
References IS_RST_FLAG, and RST.
void RST_GPOutputEnable | ( | void | ) |
Configures the reset pad as GP output.
Definition at line 144 of file stm8l15x_rst.c.
References RST, and RST_CR_MASK.