2 CPU
S1C17704 TECHNICAL MANUAL
EPSON
2-7
2.4 Vector Table
The vector table contains the vectors to the interrupt handler routines (handler routine start address) that will be
read by the S1C17 Core to execute the handler when an interrupt occurs. The boot address from which the program
starts running after a reset must be written to the top of the vector table.
The vector table is located at address 0x8000 in the S1C17704. The vector table base address can be read out from
TTBR (Vector Table Base Register) located at address 0xffff80.
Table 2.4.1 shows the vector table of the S1C17704.
Table 2.4.1 Vector Table
Vector No.
Software interrupt No.
Vector address
Hardware interrupt name
Cause of hardware interrupt
Priority
0 (0x00)
0x8000
Reset
• Low input to the #RESET pin
• Watchdog timer overfl ow
∗
2
1
1 (0x01)
0x8004
Address misaligned interrupt
Memory access instruction
2
–
(0xfffc00)
Debugging interrupt
brk
instruction, etc.
3
2 (0x02)
0x8008
NMI
Watchdog timer overfl ow
∗
2
4
3 (0x03)
0x800c
reserved
–
–
4 (0x04)
0x8010
P0 port interrupt
P00–P07 port inputs
High
∗
1
5 (0x05)
0x8014
P1 port interrupt
P10–P17 port inputs
↑
6 (0x06)
0x8018
Stopwatch timer interrupt
• 100 Hz timer signal
• 10 Hz timer signal
• 1 Hz timer signal
7 (0x07)
0x801c
Clock timer interrupt
• 32 Hz timer signal
• 8 Hz timer signal
• 2 Hz timer signal
• 1 Hz timer signal
8 (0x08)
0x8020
8-bit OSC1 timer interrupt
Compare match
9 (0x09)
0x8024
SVD interrupt
Low supply voltage detected
10 (0x0a)
0x8028
LCD interrupt
Frame signal
11 (0x0b)
0x802c
PWM & capture timer interrupt
• Compare match A
• Compare match B
12 (0x0c)
0x8030
8-bit timer interrupt
Timer underfl ow
13 (0x0d)
0x8034
16-bit timer Ch. 0 interrupt
Timer underfl ow
14 (0x0e)
0x8038
16-bit timer Ch. 1 interrupt
Timer underfl ow
15 (0x0f)
0x803c
16-bit timer Ch. 2 interrupt
Timer underfl ow
16 (0x10)
0x8040
UART interrupt
• Transmit buffer empty
• Receive buffer full
• Receive error
17 (0x11)
0x8044
Remote controller interrupt
• Data length counter underfl ow
• Input rising edge detected
• Input falling edge detected
18 (0x12)
0x8048
SPI interrupt
• Transmit buffer empty
• Receive buffer full
19 (0x13)
0x804c
I
2
C interrupt
• Transmit buffer empty
• Receive buffer full
20 (0x14)
0x8050
reserved
–
:
:
:
:
↓
31 (0x1f)
0x807c
reserved
–
Low
∗
1
∗
1 When the same interrupt level is set
∗
2 Either reset or NMI can be selected as the watchdog timer interrupt with software.
0xffff80: Vector Table Base Register (TTBR)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
Vector Table
Base Register
(TTBR)
0xffff80
(32 bits)
D31–24
–
Unused (fixed at 0)
0x0
0x0
R
D23–0
TTBR[23:0]
Vector table base address
0x8000
0x80
00
R
Содержание S1C17704
Страница 1: ...TECHNICAL MANUAL S1C17704 CMOS 16 BIT SINGLE CHIP MICROCOMPUTER ...
Страница 22: ...1 OVERVIEW 1 10 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 42: ...3 MEMORY MAP BUS CONTROL 3 12 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 82: ...6 INTERRUPT CONTROLLER ITC 6 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 108: ...8 CLOCK GENERATOR CLG 8 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 112: ...9 PRESCALER PSC 9 4 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 138: ...10 I O PORTS P 10 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 156: ...11 16 BIT TIMERS T16 11 18 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 208: ...14 8 BIT OSC1 TIMER T8OSC1 14 16 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 234: ...16 STOPWATCH TIMER SWT 16 14 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 242: ...17 WATCHDOG TIMER WDT 17 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 264: ...18 UART 18 22 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 300: ...20 I2C 20 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 320: ...21 REMOTE CONTROLLER REMC 21 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 360: ...24 ON CHIP DEBUGGER DBG 24 6 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 362: ...25 BASIC EXTERNAL WIRING DIAGRAM 25 2 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...