STM8L15x Standard Peripherals Drivers
|
WFE Source configuration and management functions. More...
Functions | |
void | WFE_DeInit (void) |
Deinitializes the WFE registers to their default reset value. | |
FunctionalState | WFE_GetWakeUpSourceEventStatus (WFE_Source_TypeDef WFE_Source) |
Gets the status of the specified source event. | |
void | WFE_WakeUpSourceEventCmd (WFE_Source_TypeDef WFE_Source, FunctionalState NewState) |
Set the source that can generate the wake-up event. |
Detailed Description
WFE Source configuration and management functions.
=============================================================================== WFE Source configuration and management functions ===============================================================================
Function Documentation
void WFE_DeInit | ( | void | ) |
Deinitializes the WFE registers to their default reset value.
Definition at line 89 of file stm8l15x_wfe.c.
References WFE, and WFE_CRX_RESET_VALUE.
FunctionalState WFE_GetWakeUpSourceEventStatus | ( | WFE_Source_TypeDef | WFE_Source | ) |
Gets the status of the specified source event.
Definition at line 231 of file stm8l15x_wfe.c.
References DISABLE, ENABLE, IS_WFE_SOURCE, WFE, WFE_Source_ADC1_COMP_EV, WFE_Source_AES_EV, WFE_Source_DMA1CH01_EV, WFE_Source_DMA1CH23_EV, WFE_Source_EXTI_EV0, WFE_Source_EXTI_EV1, WFE_Source_EXTI_EV2, WFE_Source_EXTI_EV3, WFE_Source_EXTI_EV4, WFE_Source_EXTI_EV5, WFE_Source_EXTI_EV6, WFE_Source_EXTI_EV7, WFE_Source_EXTI_EVB_G, WFE_Source_EXTI_EVD_H, WFE_Source_EXTI_EVE_F, WFE_Source_I2C1_EV, WFE_Source_RTC_CSS_EV, WFE_Source_SPI1_EV, WFE_Source_SPI2_EV, WFE_Source_TIM1_EV0, WFE_Source_TIM1_EV1, WFE_Source_TIM2_EV0, WFE_Source_TIM2_EV1, WFE_Source_TIM3_EV0, WFE_Source_TIM3_EV1, WFE_Source_TIM4_EV, WFE_Source_TIM5_EV0, WFE_Source_TIM5_EV1, WFE_Source_USART1_EV, WFE_Source_USART2_EV, and WFE_Source_USART3_EV.
void WFE_WakeUpSourceEventCmd | ( | WFE_Source_TypeDef | WFE_Source, |
FunctionalState | NewState | ||
) |
Set the source that can generate the wake-up event.
Definition at line 135 of file stm8l15x_wfe.c.
References DISABLE, IS_FUNCTIONAL_STATE, IS_WFE_SOURCE, and WFE.