TinyPower
EEPROM Data Memory
The EEPROM Data Memory capacity is up to 128×8 bits for this series of devices. Unlike the
Program Memory and RAM Data Memory, the EEPROM Data Memory is not directly mapped
into memory space and is therefore not directly addressable in the same way as the other types of
memory. Read andWrite operations to the EEPROM are carried out in single byte operations using
an address and data register in Bank 0 and a single control register in Bank 1.
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
• HT69F30A
Register
Name
7
EEA
—
EED
EED7
EEC
—
• HT69F40A/HT69F50A
Register
Name
7
EEA
—
EED
EED7
EEC
—
EEA Register
• HT69F30A
Bit
7
Name
—
R/W
—
P�R
—
Bit 7~6
Unimplemented, read as "0"
Bit 5~0
EEA5~EEA0: Data EEPROM address bit 5~bit 0
Rev. 1.20
HT69F30A/HT69F40A/HT69F50A
I/O Flash 8-Bit MCU with LCD & EEPROM
TM
Device
Capacity
HT69F30A
64�
HT69F40A
12��
HT69F�0A
12��
Bit
6
5
4
—
EEA�
EEA4
EED6
EED�
EED4
—
—
—
Bit
6
5
4
EEA6
EEA�
EEA4
EED6
EED�
EED4
—
—
—
6
5
4
—
EEA�
EEA4
—
R/W
R/W
—
x
x
4�
Address
00H~3FH
00H~7FH
00H~7FH
3
2
1
EEA3
EEA2
EEA1
EED3
EED2
EED1
WREN
WR
RDEN
3
2
1
EEA3
EEA2
EEA1
EED3
EED2
EED1
WREN
WR
RDEN
3
2
1
EEA3
EEA2
EEA1
R/W
R/W
R/W
x
x
x
"x": unknown
��to�e� 0�� 201�
0
EEA0
EED0
RD
0
EEA0
EED0
RD
0
EEA0
R/W
x
Need help?
Do you have a question about the TinyPower HT69F40A and is the answer not in the manual?
Questions and answers