5 INTERRUPT CONTROLLER (ITC)
5-2
Seiko Epson Corporation
S1C17M12/M13 TECHNICAL MANUAL
(Rev. 1.2)
Vector number/
Software interrupt
number
Vector address Hardware interrupt name
Hardware interrupt flag
Priority
4 (0x04)
TTBR + 0x10 Supply voltage detector
interrupt
Low power supply voltage detection
High
*
1
↑
5 (0x05)
TTBR + 0x14 Port interrupt
Port input
6 (0x06)
TTBR + 0x18
reserved
–
7 (0x07)
TTBR + 0x1c Clock generator interrupt
• IOSC oscillation stabilization waiting completion
• OSC3 oscillation stabilization waiting completion
8 (0x08)
TTBR + 0x20
reserved
–
9 (0x09)
TTBR + 0x24 16-bit timer Ch.0 interrupt
Underflow
10 (0x0a)
TTBR + 0x28 UART Ch.0 interrupt
• End of transmission
• Framing error
• Parity error
• Overrun error
• Receive buffer two bytes full
• Receive buffer one byte full
• Transmit buffer empty
11 (0x0b)
TTBR + 0x2c 16-bit timer Ch.1 interrupt
Underflow
12 (0x0c)
TTBR + 0x30 Synchronous serial interface
Ch.0 interrupt
• End of transmission
• Receive buffer full
• Transmit buffer empty
• Overrun error
13 (0x0d)
TTBR + 0x34 I
2
C Ch.0 interrupt
• End of data transfer
• General call address reception
• NACK reception
• STOP condition
• START condition
• Error detection
• Receive buffer full
• Transmit buffer empty
14 (0x0e)
TTBR + 0x38 16-bit PWM timer Ch.0
interrupt
• Capture overwrite
• Compare/capture
• Counter MAX
• Counter zero
15 (0x0f)
TTBR + 0x3c 16-bit timer Ch.2 interrupt
Underflow
16 (0x10)
TTBR + 0x40 16-bit timer Ch.3 interrupt
Underflow
17 (0x11)
TTBR + 0x44 IR remote controller interrupt • Compare AP
• Compare DB
18 (0x12)
TTBR + 0x48 12-bit A/D converter interrupt • Analog input signal m A/D conversion completion
• Analog input signal m A/D conversion result overwrite
error
19 (0x13)
TTBR + 0x4c Seven-segment LED
controller interrupt
COM0 lighting
20 (0x14)
TTBR + 0x50 Synchronous serial interface
Ch.1 interrupt
• End of transmission
• Receive buffer full
• Transmit buffer empty
• Overrun error
21 (0x15)
TTBR + 0x54
reserved
–
:
:
:
:
↓
31 (0x1f)
TTBR + 0x7c
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.
5.2.1 Vector Table Base Address (TTBR)
The MSCTTBRL and MSCTTBRH registers are provided to set the base (start) address of the vector table in which
interrupt vectors are programmed. “TTBR” described in Table 5.2.1 means the value set to these registers. After an
initial reset, the MSCTTBRL and MSCTTBRH registers are set to address 0x8000. Therefore, even when the vec-
tor table location is changed, it is necessary that at least the reset vector be written to the above address. Bits 7 to 0
in the MSCTTBRL register are fixed at 0, so the vector table always begins from a 256-byte boundary address.