English
Language : 

STM8AL313X Datasheet, PDF (54/124 Pages) STMicroelectronics – Automotive 8-bit ultra-low-power MCU, up to 32 Kbyte Flash, RTC, data EEPROM, LCD, timers, USART, I2C, SPI, ADC, DAC, COMPs
Interrupt vector mapping
STM8AL313x/4x/6x STM8AL3L4x/6x
IRQ Source
No. block
Table 11. Interrupt mapping (continued)
Description
Wakeup
from Halt
mode
Wakeup
from
Active-halt
mode
Wakeup
from Wait
(WFI
mode)
Wakeup
from Wait
(WFE
mode)(1)
Vector
address
COMP1 interrupt/
COMP1/ COMP2 interrupt
18 COMP2/ ADC1 end of conversion/
Yes
Yes
Yes
Yes
0x00 8050
ADC1 analog watchdog/
overrun interrupt
19
TIM2
TIM2 update/overflow/
trigger/break interrupt
-
-
Yes
Yes
0x00 8054
20
TIM2
TIM2 capture/compare
interrupt
-
-
Yes
Yes
0x00 8058
21
TIM3
TIM3 update /overflow/
trigger/break interrupt
-
-
Yes
Yes
0x00 805C
22
TIM3
TIM3 capture/compare
interrupt
-
-
Yes
Yes
0x00 8060
23
TIM1
TIM1 update /overflow/
trigger/COM
-
-
-
Yes
0x00 8064
24
TIM1
TIM1 capture/compare
interrupt
-
-
-
Yes
0x00 8068
25
TIM4
TIM4 update /overflow/
trigger interrupt
-
-
Yes
Yes
0x00 806C
SPI TX buffer empty/RX
26
SPI1
buffer not
empty/error/wakeup
Yes
Yes
Yes
Yes
0x00 8070
interrupt
USART1 transmit data
27
USART1
register empty/
transmission complete
-
interrupt
-
Yes
Yes
0x00 8074
USART1 received data
28
USART 1
ready/overrun error/
idle line detected/parity
-
error/global error interrupt
-
Yes
Yes
0x00 8078
29
I2C1
I2C1 interrupt(3)
Yes
Yes
Yes
Yes
0x00 807C
1. The Low power wait mode is entered when executing a WFE instruction in Low power run mode. In WFE mode, the
interrupt is served if it has been previously enabled. After processing the interrupt, the processor goes back to WFE mode.
When the interrupt is configured as a wakeup event, the CPU wakes up and resumes processing.
2. The interrupt from PVD is logically OR-ed with Port E and F interrupts. Register EXTI_CONF allows to select between Port
E and Port F interrupt (see External interrupt port select register (EXTI_CONF) in STM8L051/L052 Value Line,
STM8L151/L152, STM8L162, STM8AL31, STM8AL3L MCU lines reference manual (RM0031).
3. The device is woken up from Halt or Active-halt mode only when the address received matches the interface address.
54/124
DocID18474 Rev 7