
Rev. 1.00
56 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
4 Flash Memory Controller (FMC)
Flash Operation Command Register – OCMR
This register is used to specify the Flash operation commands that include word programming, page erase and
mass erase.
Offset:
0x00C
Reset value: 0x0000_0000
31
30
29
28
27
26
25
24
Reserved
Type/Reset
23
22
21
20
19
18
17
16
Reserved
Type/Reset
15
14
13
12
11
10
9
8
Reserved
Type/Reset
7
6
5
4
3
2
1
0
Reserved
CMD
Type/Reset
RW 0 RW 0 RW 0 RW 0
Bits
Field
Descriptions
[3:0]
CMD
Flash Operation Command
The following table shows the definitions of the operation command field, CMD [3:0],
which specifies the Flash memory operation. If an invalid command is set and the
IOCMIEN bit is set to 1, an Invalid Operation Command interrupt will be generated.
CMD [3:0]
Description
0x0
Idle (default)
0x4
Word programming
0x8
Page erase
0xA
Mass erase
Others
Reserved