STM8L15x Standard Peripherals Drivers: WFE_Registers_Bits_Definition

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

WFE_Registers_Bits_Definition

Defines

#define WFE_CR1_EXTI_EV0   ((uint8_t)0x10)
#define WFE_CR1_EXTI_EV1   ((uint8_t)0x20)
#define WFE_CR1_EXTI_EV2   ((uint8_t)0x40)
#define WFE_CR1_EXTI_EV3   ((uint8_t)0x80)
#define WFE_CR1_TIM1_EV0   ((uint8_t)0x04)
#define WFE_CR1_TIM1_EV1   ((uint8_t)0x08)
#define WFE_CR1_TIM2_EV0   ((uint8_t)0x01)
#define WFE_CR1_TIM2_EV1   ((uint8_t)0x02)
#define WFE_CR2_ADC1_COMP_EV   ((uint8_t)0x80)
#define WFE_CR2_EXTI_EV4   ((uint8_t)0x01)
#define WFE_CR2_EXTI_EV5   ((uint8_t)0x02)
#define WFE_CR2_EXTI_EV6   ((uint8_t)0x04)
#define WFE_CR2_EXTI_EV7   ((uint8_t)0x08)
#define WFE_CR2_EXTI_EVBG   ((uint8_t)0x10)
#define WFE_CR2_EXTI_EVDH   ((uint8_t)0x20)
#define WFE_CR2_EXTI_EVEF   ((uint8_t)0x40)
#define WFE_CR3_DMA1CH01_EV   ((uint8_t)0x40)
#define WFE_CR3_DMA1CH23_EV   ((uint8_t)0x80)
#define WFE_CR3_I2C1_EV   ((uint8_t)0x10)
#define WFE_CR3_SPI1_EV   ((uint8_t)0x08)
#define WFE_CR3_TIM3_EV0   ((uint8_t)0x01)
#define WFE_CR3_TIM3_EV1   ((uint8_t)0x02)
#define WFE_CR3_TIM4_EV   ((uint8_t)0x04)
#define WFE_CR3_USART1_EV   ((uint8_t)0x20)
#define WFE_CR4_AES_EV   ((uint8_t)0x40)
#define WFE_CR4_RTC_CSS_EV   ((uint8_t)0x01)
#define WFE_CR4_SPI2_EV   ((uint8_t)0x02)
#define WFE_CR4_TIM5_EV0   ((uint8_t)0x10)
#define WFE_CR4_TIM5_EV1   ((uint8_t)0x20)
#define WFE_CR4_USART2_EV   ((uint8_t)0x04)
#define WFE_CR4_USART3_EV   ((uint8_t)0x08)

Define Documentation

#define WFE_CR1_EXTI_EV0   ((uint8_t)0x10)

External interrupt event 0 Mask

Definition at line 1284 of file stm8l15x.h.

#define WFE_CR1_EXTI_EV1   ((uint8_t)0x20)

External interrupt event 1 Mask

Definition at line 1283 of file stm8l15x.h.

#define WFE_CR1_EXTI_EV2   ((uint8_t)0x40)

External interrupt event 2 Mask

Definition at line 1282 of file stm8l15x.h.

#define WFE_CR1_EXTI_EV3   ((uint8_t)0x80)

External interrupt event 3 Mask

Definition at line 1281 of file stm8l15x.h.

#define WFE_CR1_TIM1_EV0   ((uint8_t)0x04)

TIM1 event 0 Mask

Definition at line 1286 of file stm8l15x.h.

#define WFE_CR1_TIM1_EV1   ((uint8_t)0x08)

TIM1 event 1 Mask

Definition at line 1285 of file stm8l15x.h.

#define WFE_CR1_TIM2_EV0   ((uint8_t)0x01)

TIM2 event 0 Mask

Definition at line 1288 of file stm8l15x.h.

#define WFE_CR1_TIM2_EV1   ((uint8_t)0x02)

TIM2 event 1 Mask

Definition at line 1287 of file stm8l15x.h.

#define WFE_CR2_ADC1_COMP_EV   ((uint8_t)0x80)

ADC / COMP event Mask

Definition at line 1290 of file stm8l15x.h.

#define WFE_CR2_EXTI_EV4   ((uint8_t)0x01)

External interrupt event 4 Mask

Definition at line 1297 of file stm8l15x.h.

#define WFE_CR2_EXTI_EV5   ((uint8_t)0x02)

External interrupt event 5 Mask

Definition at line 1296 of file stm8l15x.h.

#define WFE_CR2_EXTI_EV6   ((uint8_t)0x04)

External interrupt event 6 Mask

Definition at line 1295 of file stm8l15x.h.

#define WFE_CR2_EXTI_EV7   ((uint8_t)0x08)

External interrupt event 7 Mask

Definition at line 1294 of file stm8l15x.h.

#define WFE_CR2_EXTI_EVBG   ((uint8_t)0x10)

External interrupt event on Port B or Port G Mask

Definition at line 1293 of file stm8l15x.h.

#define WFE_CR2_EXTI_EVDH   ((uint8_t)0x20)

External interrupt event on Port D or Port H Mask

Definition at line 1292 of file stm8l15x.h.

#define WFE_CR2_EXTI_EVEF   ((uint8_t)0x40)

External interrupt event on Port E or Port F Mask

Definition at line 1291 of file stm8l15x.h.

#define WFE_CR3_DMA1CH01_EV   ((uint8_t)0x40)

DMA1 channel 0 and 1 interrupt event Mask

Definition at line 1300 of file stm8l15x.h.

#define WFE_CR3_DMA1CH23_EV   ((uint8_t)0x80)

DMA1 channel 2 and 3 interrupt event Mask

Definition at line 1299 of file stm8l15x.h.

#define WFE_CR3_I2C1_EV   ((uint8_t)0x10)

I2C1 Rx and Tx interrupt event Mask

Definition at line 1302 of file stm8l15x.h.

#define WFE_CR3_SPI1_EV   ((uint8_t)0x08)

SPI1 Rx and Tx interrupt event Mask

Definition at line 1303 of file stm8l15x.h.

#define WFE_CR3_TIM3_EV0   ((uint8_t)0x01)

TIM3 event 0 Mask

Definition at line 1306 of file stm8l15x.h.

#define WFE_CR3_TIM3_EV1   ((uint8_t)0x02)

TIM3 event 1 Mask

Definition at line 1305 of file stm8l15x.h.

#define WFE_CR3_TIM4_EV   ((uint8_t)0x04)

TIM4 event Mask

Definition at line 1304 of file stm8l15x.h.

#define WFE_CR3_USART1_EV   ((uint8_t)0x20)

USART1 Rx and Tx interrupt event Mask

Definition at line 1301 of file stm8l15x.h.

#define WFE_CR4_AES_EV   ((uint8_t)0x40)

AES event Mask

Definition at line 1308 of file stm8l15x.h.

#define WFE_CR4_RTC_CSS_EV   ((uint8_t)0x01)

RTC or CSS on LSE interrupt event Mask

Definition at line 1314 of file stm8l15x.h.

#define WFE_CR4_SPI2_EV   ((uint8_t)0x02)

SPI2 Rx and Tx interrupt event Mask

Definition at line 1313 of file stm8l15x.h.

#define WFE_CR4_TIM5_EV0   ((uint8_t)0x10)

TIM5 event 0 Mask

Definition at line 1310 of file stm8l15x.h.

#define WFE_CR4_TIM5_EV1   ((uint8_t)0x20)

TIM5 event 1 Mask

Definition at line 1309 of file stm8l15x.h.

#define WFE_CR4_USART2_EV   ((uint8_t)0x04)

USART2 Rx and Tx interrupt event Mask

Definition at line 1312 of file stm8l15x.h.

#define WFE_CR4_USART3_EV   ((uint8_t)0x08)

USART3 Rx and Tx interrupt event Mask

Definition at line 1311 of file stm8l15x.h.

STM8S Firmware Library: Overview

 

 

 

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