
Rev. 1.00
47 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
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 definitions of CMD [3:0] bits which specify the Flash
operation. If an invalid command is set and the IOCMIEN bit is set to 1, an Invalid
Operation Command interrupt will occur.
CMD [3:0]
Description
0x0
Idle (default)
0x4
Word programming
0x8
Page erase
0xA
Mass erase
Others
Reserved