32-Bit Arm
®
Cortex
®
-M3 MCU
HT32F12345
Register Descriptions
Flash Target Address Register – TADR
This register specifies the target address of the page erase and word programming operations.
Offset:
0x000
Reset value:
0x0000_0000
31
Type/Reset
RW
0 RW
23
Type/Reset
RW
0 RW
15
Type/Reset
RW
0 RW
7
Type/Reset
RW
0 RW
Bits
Field
[31:0]
TADB
Rev. 1.10
30
29
28
0 RW
0 RW
22
21
20
0 RW
0 RW
14
13
12
0 RW
0 RW
6
5
4
0 RW
0 RW
Descriptions
Flash Target Address Bits
For programming operations, the TADR register specifies the address where the
data is written. Since the programming length is 32-bit, the TADR should be set
as word-aligned (4 bytes). The TADB [1:0] will be ignored during programming
operations. For page erase operations, the TADR register contains the page
address which is going to be erased. Since the page size is 1 KB, the TADB [9:0]
will be ignored in order to limit the target address as 1 KB-aligned. For 64 KB
main Flash addressing, TADB [31:16] should be zero. The Option Byte which has
a 1 KB capacity ranges from 0x1FF0_0000 to 0x1FF0_03FF. This field is used to
specify the Flash address which must be within the range from 0x0000_0000 to
0x1FFF_FFFF. Otherwise, an Invalid Target Address interrupt will be generated if
the corresponding interrupt enable bit is set.
53 of 590
27
26
TADB
0 RW
0 RW
0 RW
19
18
TADB
0 RW
0 RW
0 RW
11
10
TADB
0 RW
0 RW
0 RW
3
2
TADB
0 RW
0 RW
0 RW
25
24
0 RW
0
17
16
0 RW
0
9
8
0 RW
0
1
0
0 RW
0
November 28, 2018
Need help?
Do you have a question about the HT32F12345 and is the answer not in the manual?