STM8L15x Standard Peripherals Drivers
|
Interrupts and flags management functions. More...
Functions | |
void | CLK_ClearFlag (void) |
Clears the CSS LSE Flag. | |
void | CLK_ClearITPendingBit (CLK_IT_TypeDef CLK_IT) |
Clears the CLK's interrupt pending bits. | |
FlagStatus | CLK_GetFlagStatus (CLK_FLAG_TypeDef CLK_FLAG) |
Checks whether the specified CLK flag is set or not. | |
ITStatus | CLK_GetITStatus (CLK_IT_TypeDef CLK_IT) |
Checks whether the specified CLK interrupt has occurred or not. | |
void | CLK_ITConfig (CLK_IT_TypeDef CLK_IT, FunctionalState NewState) |
Enables or disables the specified CLK interrupts. |
Detailed Description
Interrupts and flags management functions.
=============================================================================== Interrupts and flags management functions ===============================================================================
Function Documentation
void CLK_ClearFlag | ( | void | ) |
Clears the CSS LSE Flag.
Definition at line 1010 of file stm8l15x_clk.c.
References CSSLSE, and CSSLSE_CSR_CSSF.
void CLK_ClearITPendingBit | ( | CLK_IT_TypeDef | CLK_IT | ) |
Clears the CLK's interrupt pending bits.
Definition at line 1083 of file stm8l15x_clk.c.
References CLK, CLK_SWCR_SWIF, CSSLSE, CSSLSE_CSR_CSSF, and IS_CLK_CLEAR_IT.
FlagStatus CLK_GetFlagStatus | ( | CLK_FLAG_TypeDef | CLK_FLAG | ) |
Checks whether the specified CLK flag is set or not.
Definition at line 939 of file stm8l15x_clk.c.
References CLK, CSSLSE, IS_CLK_FLAGS, RESET, and SET.
ITStatus CLK_GetITStatus | ( | CLK_IT_TypeDef | CLK_IT | ) |
Checks whether the specified CLK interrupt has occurred or not.
Definition at line 1026 of file stm8l15x_clk.c.
References CLK, CLK_IT_LSECSSF, CLK_IT_SWIF, CSSLSE, IS_CLK_IT, RESET, and SET.
void CLK_ITConfig | ( | CLK_IT_TypeDef | CLK_IT, |
FunctionalState | NewState | ||
) |
Enables or disables the specified CLK interrupts.
Definition at line 869 of file stm8l15x_clk.c.
References CLK, CLK_CSSR_CSSDIE, CLK_IT_LSECSSF, CLK_IT_SWIF, CLK_SWCR_SWIEN, CSSLSE, CSSLSE_CSR_CSSIE, DISABLE, IS_CLK_IT, and IS_FUNCTIONAL_STATE.