Rev. 1.10
22
November 26, 2019
Rev. 1.10
23
November 26, 2019
HT68FB240
USB Low Speed Flash MCU
• FCR Register
Bit
7
6
5
4
3
2
1
0
Name
CFWEN
FMOD2
FMOD1
FMOD0
BWT
FWT
FRDEN
FRD
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
0
0
0
0
0
0
0
0
Bit 7
CFWEN:
Flash ROM Write Enable bit, FWEN, control bit
0: d
isable
1: unimplemented
This bit is used to control the FWEN bit enable or disable. When this bit is cleared to
low by software, the Flash memory write enable control bit, FWEN will be cleared to
low as well. It’s ineffective to set this bit to high. The user can check this bit to confirm
the FWEN status.
Bit 6~4
FMOD2~FMOD0:
Flash Program memory, Configuration option memory operating
mode control bits
000: write memory mode
001: page erase mode
010: reserved
011: read memory mode
100: reserved
101: reserved
110: FWEN (flash memory write enable) bit control mode
111: reserved
Bit 3
BWT:
Mode change control
0: mode change cycle has finished
1: activate a mode change cycle
This bit will be automatically reset to zero by the hardware after the mode change
cycle has finished.
Bit 2
FWT:
Flash memory Write Control
0: write cycle has finished
1: activate a write cycle
This is the Flash memory Write Control Bit and when set high by the application
program will activate a write cycle. This bit will be automatically reset to zero by the
hardware after the write cycle has finished.
Bit 1
FRDEN:
Flash Memory Read Enable
0: disable
1: enable
This is the Flash memory Read Enable Bit which must be set high before Flash
memory read operations are carried out. Clearing this bit to zero will inhibit Flash
memory read operations.
Bit 0
FRD:
Flash memory Read Control
0: read cycle has finished
1: activate a read cycle
This is the Flash memory Read Control Bit and when set high by the application
program will activate a read cycle. This bit will be automatically reset to zero by the
hardware after the read cycle has finished. Setting this bit high will have no effect if
the FRDEN has not first been set high.
Note: The FWT, FRDEN and FRD bits can not be set to "1" at the same time with a single
instruction.