Blame | Last modification | View Log | Download | RSS feed
ifndef __stm8twfeinc ; avoid multiple inclusion__stm8twfeinc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - File WFE.INC *;* *;* contains SFR and Bit Definitions for STM8T Wait for Events *;* *;* Source: RM0312 (DocID022352 Rev 3) *;* *;****************************************************************************__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_EV1 bit WFE_CR1,3 ; ProxSense interruptTIM2_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 interrupt event on Port DEXTI_EVB bit WFE_CR2,4 ; External interrupt event on Port BEXTI_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 ; __stm8twfeinc