Rev. 2.50 192 June 22, 2017 Rev. 2.50 193 June 22, 2017
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
START signal
from M aste r
S end slave a ddress
and R/W bit fro m Master
Acknow le dge
from s la ve
Send d ata byte
from M aste r
Acknow le dge
from s la ve
STOP s i gnal
from M aste r
I
2
C Registers
TherearethreecontrolregistersassociatedwiththeI
2
Cbus,SIMC0,SIMC1andSIMAandone
dataregister,SIMD.TheSIMDregister,whichisshownintheaboveSPIsection,isusedtostore
thedatabeingtransmittedandreceivedontheI
2
Cbus.Beforethemicrocontrollerwritesdatato
theI
2
Cbus,theactualdatatobetransmittedmustbeplacedintheSIMDregister.Afterthedatais
receivedfromtheI
2
Cbus,themicrocontrollercanreaditfromtheSIMDregister.Anytransmission
orreceptionofdatafromtheI
2
CbusmustbemadeviatheSIMDregister.
NotethattheSIMAregisteralsohasthenameSIMC2whichisusedbytheSPIfunction.BitSIMEN
andbitsSIM2~SIM0inregisterSIMC0areusedbytheI
2
Cinterface.
Register
Name
Bit
7 6 5 4 3 2 1 0
SIMC0 SIM2
SIM1 SIM0 PCKEN PCKP1 PCKP0 SIMEN —
SIMC1 HCF HAAS HBB HTX TXAK SRW IAMWU RXAK
SIMD
D7 D6 D5 D4 D3 D2 D1 D0
SIMA IICA6 IICA5 IICA4 IICA3 IICA2
IICA1 IICA0 D0
I
2
C Registers List