Flash Vector Mapping Control Register - Vmcr - Holtek HT32F52220 User Manual

32-bit microcontroller with arm cortex-m0+ core
Table of Contents

Advertisement

32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52220/HT32F52230
Flash Vector Mapping Control Register – VMCR
This register is used to control the vector mapping. The reset value of the VMCR register is determined by the
external BOOT pin during the power-on reset period.
Offset:
0x100
Reset value: 0x0000_000X
31
Type/Reset
23
Type/Reset
15
Type/Reset
7
Type/Reset
Bits
Field
[1]
VMCB
Rev. 1.10
30
29
28
22
21
20
14
13
12
6
5
4
Reserved
Descriptions
Vector Mapping Control Bit
The VMCB bit is used to control the mapping source of the first 4-word vectors
addressed from 0x0 to 0xC. The following table shows the vector mapping setting.
BOOT
VMCB [1]
Boot Loader mode
Low
0
The vector mapping source is the boot loader area.
Main Flash mode
High
1
The vector mapping source is the main Flash area.
The reset value of the VMCB bit is determined by the BOOT pin status during the
power-on reset and system reset. The vector mapping setting can be changed
temporarily by configuring the VMCB bit when the application program is executed.
50 of 366
27
26
Reserved
19
18
Reserved
11
10
Reserved
3
2
VMCB
RW
Descriptions
November 09, 2018
25
24
17
16
9
8
1
0
Reserved
X

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Ht32f52230

Table of Contents