Blame | Last modification | View Log | Download | RSS feed
ifndef __stm8lwfe01inc ; avoid multiple inclusion__stm8lwfe01inc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - File WFE01.INC *;* *;* contains SFR and Bit Definitions for STM8Lx01 Wait for Events *;* *;****************************************************************************__defwfe macro Base,Has4WFE_CR1 label Base+$00 ; WFE control register 1EXTI_EV3 bit WFE_CR1,7 ; External interrupt event 3EXTI_EV2 bit WFE_CR1,6 ; External interrupt event 2EXTI_EV1 bit WFE_CR1,5 ; External interrupt event 1EXTI_EV0 bit WFE_CR1,4 ; External interrupt event 0PXS_EV bit WFE_CR1,3 ;TIM2_EV1 bit WFE_CR1,1 ; TIM2 interrupt event 1TIM2_EV0 bit WFE_CR1,0 ; TIM2 interrupt event 0WFE_CR2 label Base+$01 ; WFE control register 2EXTI_EVD bit WFE_CR2,5 ; External inxterrupt event on Port D or Port HEXTI_EVB bit WFE_CR2,4 ; External interrupt event on Port B or Port GEXTI_EV7 bit WFE_CR2,3 ; External interrupt event 7EXTI_EV6 bit WFE_CR2,2 ; External interrupt event 6EXTI_EV5 bit WFE_CR2,1 ; External interrupt event 5EXTI_EV4 bit WFE_CR2,0 ; External interrupt event 4endmrestoreendif ; __stm8lwfe01inc