STM8L15x Standard Peripherals Drivers: stm8l15x_wfe.h File Reference

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

stm8l15x_wfe.h File Reference

This file contains all the functions prototypes for the WFE firmware library. More...

#include "stm8l15x.h"

Go to the source code of this file.

Defines

#define IS_WFE_SOURCE(Source)

Enumerations

enum  WFE_Source_TypeDef {
  WFE_Source_TIM2_EV0 = (uint16_t)0x0101, WFE_Source_TIM2_EV1 = (uint16_t)0x0102, WFE_Source_TIM1_EV0 = (uint16_t)0x0104, WFE_Source_TIM1_EV1 = (uint16_t)0x0108,
  WFE_Source_EXTI_EV0 = (uint16_t)0x0110, WFE_Source_EXTI_EV1 = (uint16_t)0x0120, WFE_Source_EXTI_EV2 = (uint16_t)0x0140, WFE_Source_EXTI_EV3 = (uint16_t)0x0180,
  WFE_Source_EXTI_EV4 = (uint16_t)0x0201, WFE_Source_EXTI_EV5 = (uint16_t)0x0202, WFE_Source_EXTI_EV6 = (uint16_t)0x0204, WFE_Source_EXTI_EV7 = (uint16_t)0x0208,
  WFE_Source_EXTI_EVB_G = (uint16_t)0x0210, WFE_Source_EXTI_EVD_H = (uint16_t)0x0220, WFE_Source_EXTI_EVE_F = (uint16_t)0x0240, WFE_Source_ADC1_COMP_EV = (uint16_t)0x0280,
  WFE_Source_TIM3_EV0 = (uint16_t)0x0301, WFE_Source_TIM3_EV1 = (uint16_t)0x0302, WFE_Source_TIM4_EV = (uint16_t)0x0304, WFE_Source_SPI1_EV = (uint16_t)0x0308,
  WFE_Source_I2C1_EV = (uint16_t)0x0310, WFE_Source_USART1_EV = (uint16_t)0x0320, WFE_Source_DMA1CH01_EV = (uint16_t)0x0340, WFE_Source_DMA1CH23_EV = (uint16_t)0x0380,
  WFE_Source_RTC_CSS_EV = (uint16_t)0x0401, WFE_Source_SPI2_EV = (uint16_t)0x0402, WFE_Source_USART2_EV = (uint16_t)0x0404, WFE_Source_USART3_EV = (uint16_t)0x0408,
  WFE_Source_TIM5_EV0 = (uint16_t)0x0410, WFE_Source_TIM5_EV1 = (uint16_t)0x0420, WFE_Source_AES_EV = (uint16_t)0x0440
}

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

This file contains all the functions prototypes for the WFE firmware library.

Author:
MCD Application Team
Version:
V1.5.0
Date:
13-May-2011
Attention:

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

© COPYRIGHT 2011 STMicroelectronics

Definition in file stm8l15x_wfe.h.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com