STM8L15x Standard Peripherals Drivers
|
Interrupts and Flags management functions. More...
Functions | |
FlagStatus | PWR_GetFlagStatus (PWR_FLAG_TypeDef PWR_FLAG) |
Checks whether the specified PWR flag is set or not. | |
void | PWR_PVDClearFlag (void) |
Clears the PWR PVDIF Flag. | |
void | PWR_PVDClearITPendingBit (void) |
Clears the PWR interrupt pending bit. | |
ITStatus | PWR_PVDGetITStatus (void) |
Checks whether the PVD interrupt has occurred or not. | |
void | PWR_PVDITConfig (FunctionalState NewState) |
Configures the Programmable Voltage Detector (PVD) Interrupt . |
Detailed Description
Interrupts and Flags management functions.
=============================================================================== Interrupts and Flags management functions ===============================================================================
Function Documentation
FlagStatus PWR_GetFlagStatus | ( | PWR_FLAG_TypeDef | PWR_FLAG | ) |
Checks whether the specified PWR flag is set or not.
Definition at line 255 of file stm8l15x_pwr.c.
References IS_PWR_FLAG, PWR, PWR_CR2_VREFINTF, PWR_FLAG_VREFINTF, RESET, and SET.
void PWR_PVDClearFlag | ( | void | ) |
Clears the PWR PVDIF Flag.
Definition at line 294 of file stm8l15x_pwr.c.
References PWR, and PWR_CSR1_PVDIF.
void PWR_PVDClearITPendingBit | ( | void | ) |
Clears the PWR interrupt pending bit.
Definition at line 330 of file stm8l15x_pwr.c.
References PWR, and PWR_CSR1_PVDIF.
ITStatus PWR_PVDGetITStatus | ( | void | ) |
Checks whether the PVD interrupt has occurred or not.
Definition at line 305 of file stm8l15x_pwr.c.
References PWR, PWR_CSR1_PVDIEN, PWR_CSR1_PVDIF, RESET, and SET.
void PWR_PVDITConfig | ( | FunctionalState | NewState | ) |
Configures the Programmable Voltage Detector (PVD) Interrupt .
Definition at line 226 of file stm8l15x_pwr.c.
References DISABLE, IS_FUNCTIONAL_STATE, PWR, and PWR_CSR1_PVDIEN.