Nested Vectored Interrupt Controller (Nvic); Introduction; Table 26. Exception Types - Holtek HT32F12345 User Manual

32-bit microcontroller with arm cortex-m3 core
Table of Contents

Advertisement

32-Bit Arm
®
Cortex
®
-M3 MCU
HT32F12345
10

Nested Vectored Interrupt Controller (NVIC)

Introduction

In order to reduce the latency and increase the interrupt processing efficiency, a tightly coupled
integrated section, which is named as Nested Vectored Interrupt Controller (NVIC) is provided
by the Cortex
®
which include functions such as the enable / disable control, priority, clear-pending, active status
report, software trigger and vector table remapping. Refer to the Technical Reference Manual of
Cortex
®
-M3 for more details.
Additionally, an integrated simple, 24-bit down count timer (SysTick) is provided by the
Cortex
-M3 to be used as a tick timer for the Real Timer Operation System (RTOS) or as a simple
®
counter. The SysTick counts down from the reloaded value and generates a system interrupt when
it reached zero.
The accompanying table lists the 16 system exceptions types and a variety of peripheral interrupts.

Table 26. Exception types

Exception
Priority
Type
Reset
-3 (Highest)
NMI
-2
Hard Fault
-1
Memory
Configurable
Management
Bus Fault
Configurable
Usage Fault
Configurable
SVCCall
Configurable
Debug Monitor
Configurable
Configurable
PendSV
Configurable
SySTick
Configurable
CKRDY
Configurable
LVD
Configurable
BOD
Configurable
Rev. 1.10
-M3. The NVIC controls the system exceptions and the peripheral interrupt
Interrupt
Exception
Number
Number
0
1
2
3
(1)
4
(1)
5
6
(1)
7
8
9
10
(1)
11
(1)
12
(1)
13
(1)
14
(1)
15
(2)
0
16
(2)
1
17
(2)
2
18
166 of 590
Vector
Description
Address
0x000
Initial Stack Point value
0x004
Reset
Non-Maskable Interrupt. The clock
stuck interrupt signal (clock monitor
0x008
function provided by Clock Control Unit)
is connected to the NMI input
0x00C
All fault classes
M e m o r y P r o t e c t i o n U n i t ( M P U )
0x010
mismatch, including access violation
and no match
Pre-fetch fault, memory access fault,
0x014
and other address / memory related
U s a g e f a u l t , s u c h a s u n d e f i n e d
0x018
executed instruction or illegal attempt of
state transition
0x01C
Reserved
0x020
Reserved
0x024
Reserved
0x028
Reserved
0x02C
SVC instruction System service call
0x030
Debug monitor, when not halted
0x034
Reserved
0x038
System Service Pendable request
0x03C
SysTick timer decremented to zero
Clock ready interrupt
0x040
(HSE, HSI, LSE, LSI or PLL)
0x044
Low voltage detection interrupt
0x048
Brown-out detection interrupt
November 28, 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HT32F12345 and is the answer not in the manual?

Table of Contents