
Rev. 1.00
57 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
4 Flash Memory Controller (FMC)
4 Flash Memory Controller (FMC)
Flash Operation Control Register – OPCR
This register is used for controlling the command commitment and checking the status of the FMC operations.
Offset:
0x010
Reset value: 0x0000_000C
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
OPM
Reserved
Type/Reset
RW 0 RW 1 RW 1 RW 0
Bits
Field
Descriptions
[4:1]
OPM
Operation Mode
The following table shows the FMC operation modes. Users can commit command
which is set by the OCMR register to the FMC according to the address alias setting
in the TADR register. The contents of the TADR, WRDR and OCMR registers should
be prepared before setting this register. After all the operations have been finished, the
OPM field will be set to 0xE by the FMC hardware. The Idle mode can be set when all
the operations have been finished for power saving purpose. Note that the operation
status should be checked before executing next operation. The contents of the
TADR, WRDR, OCMR and OPCR registers should not be changed until the previous
operation has been finished.
OPM [3:0]
Description
0x6
Idle (default)
0xA
Commit command to main Flash
0xE
All operation finished on main Flash
Others
Reserved