Interrupt; Overview; Vector Table - Epson S1C31D50 Technical Manual

Cmos 32-bit single chip
Hide thumbs Also See for S1C31D50:
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
"Cortex
-M0+ Technical Reference Manual."
®
Figure 5.1.1 shows the configuration of the interrupt system.
generator
CPU core

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
number
number
address
VTOR + 0x00 (Stack pointer initial value)
1
VTOR + 0x04 Reset
2
-14
VTOR + 0x08 NMI
3
-13
VTOR + 0x0c HardFault
4–10
11
-5
VTOR + 0x2c SVCall
12–13
-
14
-2
VTOR + 0x38 PendSV
15
-1
VTOR + 0x3c SysTick
16
0
VTOR + 0x40 DMA controller interrupt
17
1
VTOR + 0x44 Supply voltage detector inter-
18
2
VTOR + 0x48 Port interrupt (P0/P1)
19
3
VTOR + 0x4c Port interrupt (P2/P3)
20
4
VTOR + 0x50 Port interrupt (Others)
21
5
VTOR + 0x54 Clock generator interrupt
S1C31D50/D51 TECHNICAL MANUAL
(Rev. 2.00)
HALT/SLEEP
cancelation signal
Clock
IRQ0
NVIC
IRQn
NMI
Figure 5.1.1 Configuration of Interrupt System
Table 5.2.1 Vector Table
Hardware interrupt name
Reserved
Reserved
rupt
Seiko Epson Corporation
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
*1
• Watchdog timer overflow
• Supply voltage detector reset
*1
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
P0–P1 port input
P2–P3 port input
P4–Pa port input
• IOSC oscillation stabilization waiting completion
• OSC1 oscillation stabilization waiting completion
• OSC3 oscillation stabilization waiting completion
• OSC1 oscillation stop
• OSC3 oscillation auto-trimming completion
• OSC3 oscillation auto-trimming error
5 INTERRUPT
Priority
-3
-2
-1
Configurable
Configurable
5-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c31d51

Table of Contents