HT66F20-1/HT66F30-1/HT68F20-1/HT68F30-1
Flash MCU with EEPROM
EEPROM Registers
Three registers control the overall operation of the internal EEPROM Data Memory. These are the
address register, EEA, the data register, EED and a single control register, EEC. As both the EEA
and EED registers are located in Bank 0, they can be directly accessed in the same was as any other
Special Function Register. The EEC register however, being located in Bank1, cannot be addressed
directly and can only be read from or written to indirectly using the MP1 Memory Pointer and
Indirect Addressing Register, IAR1. Because the EEC control register is located at address 40H in
Bank 1, the MP1 Memory Pointer must first be set to the value 40H and the Bank Pointer register,
BP, set to the value, 01H, before any operations on the EEC register are executed.
EEPROM Register List
• HT66F20-1/HT68F20-1
Name
EEA
—
EED
D7
EEC
—
• HT66F30-1/HT68F30-1
Name
EEA
—
EED
D7
EEC
—
EEA Register
• HT66F20-1/HT68F20-1
Bit
�a�e
—
R/W
—
POR
—
Bit 7~5
Unimplemented, read as "0"
Bit 4~0
D4~D0: Data EEPROM address
Data EEPROM address bit 4~bit 0
• HT66F30-1/HT68F30-1
Bit
�a�e
—
R/W
—
POR
—
Bit 7~6
Unimplemented, read as "0"
D5~D0: Data EEPROM address
Bit 5~0
Data EEPROM address bit 5~bit 0
Rev. 1.40
7
6
5
—
—
D�
D5
—
—
7
6
5
—
D5
D�
D5
—
—
7
6
5
—
—
—
—
—
—
7
6
5
—
D5
—
R/W
—
x
�9
Bit
4
3
2
D4
D�
D�
D4
D�
D�
—
WRE�
WR
Bit
4
3
2
D4
D�
D�
D4
D�
D�
—
WRE�
WR
4
3
2
D4
D�
D�
R/W
R/W
R/W
x
x
x
4
3
2
D4
D�
D�
R/W
R/W
R/W
x
x
x
1
0
D1
D0
D1
D0
RDE�
RD
1
0
D1
D0
D1
D0
RDE�
RD
1
0
D1
D0
R/W
R/W
x
x
"x" unknown
1
0
D1
D0
R/W
R/W
x
x
"x" unknown
�ove��e� ��� �01�
Need help?
Do you have a question about the HT66F20-1 and is the answer not in the manual?