2Interrupts
7
Copyright © 2018, www.
bluetrum.com. All Rights Reserved
7
2
Interrupts
Support vectorized interrupts, exceptions on illegal instructions and exceptions on load and store instructions
to invalid addresses.
Exception vectors
Interrupt
number
Address
Description
0
0x00
Reset
1
0x10
2
0x20
3
0x30
4
0x40
Low priority interrupt
5
0x50
6
0x60
7
0x70
8
0x80~0x280
High priority interrupt(see the following table)
High priority interrupt vectors
Interrupt
number
Address
Description
0
0x80
1
0x90
2
0xa0
Software interrupt
3
0xb0
Timer0 interrupt
4
0xc0
Timer1 interrupt
5
0xd0
Timer2 interrupt
Timer4 interrupt
Timer5 interrupt
6
0xe0
Timer3 interrupt
IR receiver interrupt
7
0xf0
8
0x100
9
0x110
10
0x120
11
0x130
12
0x140
13
0x150
14
0x160
UART0 interrupt
UART1 interrupt
UART2 interrupt
15
0x170
16
0x180
17
0x190
18
0x1a0
Port interrupt
19
0x1b0
20
0x1c0
21
0x1d0
22
0x1e0
23
0x1f0
24
0x200
25
0x210
26
0x220
27
0x230
28
0x240
29
0x250