STM8S001
中斷表
參考資訊:
1. interrupts-on-the-stm8s
如下:
Vector | Number Abbreviation | Description |
---|---|---|
0 (0x00) | Reset | Reset |
1 (0x01) | TRAP | TRAP |
2 (0x02) | TLI | Top Level Interrupt |
3 (0x03) | AWU | Auto Wake Up |
4 (0x04) | CLK | Clock |
5 (0x05) | EXTI_PORTA | External Interrupts for Port A (Pins 2 through 6 inclusive) |
6 (0x06) | EXTI_PORTB | External Interrupts for Port B (All pins) |
7 (0x07) | EXTI_PORTC | External Interrupts for Port C (All pins) |
8 (0x08) | EXTI_PORTD | External Interrupts for Port D (Pins 0 through 6 inclusive) |
9 (0x09) | N/A | Not used |
10 (0x0a) | N/A | Not used |
11 (0x0b) | N/A | Not used |
12 (0x0c) | SPI | SPI |
13 (0x0d) | TIM1_UPD_OVF_TRG_BRK | Timer 1 Update/Overflow/Trigger/Break |
14 (0x0e) | TIM1_CAP_COM | Timer 1 Capture/Compare |
15 (0x0f) | TIM2_UPD_OVF_BRK | Timer 2 Update/Overflow/Break |
16 (0x10) | TIM2_CAP_COM | Timer 2 Capture/Compare |
17 (0x11) | TIM3_UPD_OVF_BRK | Timer 3 Update/Overflow/Break |
18 (0x12) | TIM3_CAP_COM | Timer 3 Capture/Compare |
19 (0x13) | UART_RX | UART Rx |
20 (0x14) | UART_TX | UART Tx |
21 (0x15) | I2C | I2C |
22 (0x16) | UART2_RX | UART 2 Rx |
23 (0x17) | UART2_TX | UART 2 Tx |
24 (0x18) | ADC1 | ADC1 |
25 (0x19) | TIM4_UPD_OVF | Timer 4 Update/Overflow |
26 (0x1a) | EEPROM_EEC | EEPROM EEC |