
Rev. 1.00
45 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
4 Flash Memory Controller (FMC)
Register Descriptions
Flash Target Address Register – TADR
This register specifies the target address of the page erase and word programming operation.
Offset:
0x000
Reset value:
0x0000_0000
31
30
29
28
27
26
25
24
TADB
Type/Reset
RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0
23
22
21
20
19
18
17
16
TADB
Type/Reset
RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0
15
14
13
12
11
10
9
8
TADB
Type/Reset
RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0
7
6
5
4
3
2
1
0
TADB
Type/Reset
RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0
Bits
Field
Descriptions
[31:0]
TADB
Flash Target Address Bits
For programming operations, the TADR register specifies the address where the data
is written. Since the programming length is 32 bits, the TADR shall 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 Kbyte-aligned. For 64 KB main Flash addressing,
TADB [31:16] should be zero and TADB [31:15] should be zero for 32 KB. Address
from 0x1FF0_0000 to 0x1FF0_03FF is the 1 KB Option Byte. This field for available
Flash address, it must be under 0x1FFF_FFFF. Otherwise, the Invalid Target Address
interrupt will be occurred if the corresponding interrupt enable bit is set.