Rev. 1.50 38 August 28, 2017 Rev. 1.50 39 August 28, 2017
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
EEA Register – HT66F0185
Bit 7 6 5 4 3 2 1 0
Name — EEA6 EEA5 EEA4 EEA3 EEA2 EEA1 EEA0
R/W — R/W R/W R/W R/W R/W R/W R/W
POR — 0 0 0 0 0 0 0
Bit7 Unimplemented,readas“0”
Bit6~0 EEA6~EEA0:DataEEPROMaddressbit6~bit0
EED Register
Bit 7 6 5 4 3 2 1 0
Name D7 D6 D5 D4 D3 D2 D1 D0
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
Bit7~0 D7~D0:DataEEPROMdatabit7~bit0
EEC Register
Bit 7 6 5 4 3 2 1 0
Name — — — — WREN WR RDEN RD
R/W — — — — R/W R/W R/W R/W
POR — — — — 0 0 0 0
Bit7~4 Unimplemented,readas“0”
Bit3 WREN:DataEEPROMwriteenable
0:Disable
1:Enable
ThisistheDataEEPROMWriteEnableBitwhichmustbesethighbeforeData
EEPROMwriteoperationsarecarriedout.ClearingthisbittozerowillinhibitData
EEPROMwriteoperations.
Bit2 WR:EEPROMwritecontrol
0:Writecyclehasnished
1:Activateawritecycle
ThisistheDataEEPROMWriteControlBitandwhensethighbytheapplication
programwillactivateawritecycle.Thisbitwillbeautomaticallyresettozerobythe
hardwareafterthewritecyclehasnished.Settingthisbithighwillhavenoeffectif
theWRENhasnotrstbeensethigh.
Bit1 RDEN:DataEEPROMreadenable
0:Disable
1:Enable
ThisistheDataEEPROMReadEnableBitwhichmustbesethighbeforeData
EEPROMreadoperationsarecarriedout.ClearingthisbittozerowillinhibitData
EEPROMreadoperations.
Bit0 RD:EEPROMreadcontrol
0:Readcyclehasnished
1:Activateareadcycle
ThisistheDataEEPROMReadControlBitandwhensethighbytheapplication
programwillactivateareadcycle.Thisbitwillbeautomaticallyresettozerobythe
hardwareafterthereadcyclehasnished.Settingthisbithighwillhavenoeffectif
theRDENhasnotrstbeensethigh.
Note:TheWREN,WR,RDENandRDcannotbesetto“1”atthesametimeinoneinstruction.The
WRandRDcannotbesetto“1”atthesametime.