Interrupt; Overview; Vector Table - Epson S1C31W74 Technical Manual

Cmos 32-bit single chip microcontroller
Table of Contents

Advertisement

5 Interrupt

5.1 Overview

This IC includes a nested vectored interrupt controller (NVIC). For detailed information on the NVIC, refer to the
documents introduced in Section 3.4, such as "ARM
Figure 5.1.1 shows the configuration of the interrupt system.
generator

5.2 Vector Table

The vector table contains the vectors to the interrupt handler routines (handler routine start address) that will be
read by the CPU to execute the handler when an interrupt occurs.
Table 5.2.1 shows the vector table.
VTOR initial value = 0x0
Interrupt
IRQ
Vector address Hardware interrupt name
number
number
VTOR + 0x00
1
VTOR + 0x04
2
-14
VTOR + 0x08
3
-13
VTOR + 0x0c
4–10
11
-5
VTOR + 0x2c
12–13
14
-2
VTOR + 0x38
15
-1
VTOR + 0x3c
16
0
VTOR + 0x40
17
1
VTOR + 0x44
18
2
VTOR + 0x48
19
3
VTOR + 0x4c
S1C31W74 TECHNICAL MANUAL
(Rev. 1.1)
HALT/SLEEP
cancelation signal
Clock
CPU
IRQ0
NVIC
IRQn
NMI
Figure 5.1.1 Configuration of Interrupt System
Table 5.2.1 Vector Table
(Stack pointer initial value)
Reset
NMI
HardFault
Reserved
SVCall
-
Reserved
PendSV
SysTick
DMA controller interrupt
Supply voltage detector
Ch.0 interrupt
Port interrupt
Clock generator interrupt
Seiko Epson Corporation
v6-M Architecture Reference Manual."
®
Peripheral circuit
Interrupt request
Peripheral circuit
Interrupt request
Watchdog timer
Cause of hardware interrupt
• Low input to the #RESET pin
• Power-on reset
• Key reset
• Watchdog timer overflow
• Supply voltage detector Ch.0 reset
Watchdog timer overflow
• Bus error
• Undefined instruction
• Unaligned address etc.
SVC instruction
SysTick timer underflow
• DMA transfer completion
• DMA transfer error
• Power supply voltage drop detection
• Power supply voltage rise detection
Port input
• IOSC oscillation stabilization waiting completion
• OSC1 oscillation stabilization waiting completion
• OSC3 oscillation stabilization waiting completion
• OSC1 oscillation stop
• IOSC oscillation auto-trimming completion
• IOSC oscillation auto-trimming error
5 INTERRUPT
Priority
*1
*1
Configurable
Configurable
-3
-2
-1
5-1

Advertisement

Table of Contents
loading

Table of Contents