User`s guide
Rev. 1.10 94 November 14, 2014 Rev. 1.10 95 November 14, 2014
HT66FW2230
Wireless Charger A/D Flash 8-Bit MCU
I
2
C Registers
TherearefourcontrolregistersassociatedwiththeI
2
Cbus,IICC0,IICC1,IICAandI2CTOCand
onedataregister,IICD.TheIICDregister,isusedtostorethedatabeingtransmittedandreceivedon
theI
2
Cbus.BeforethemicrocontrollerwritesdatatotheI
2
Cbus,theactualdatatobetransmitted
mustbeplacedintheIICDregister.AfterthedataisreceivedfromtheI
2
Cbus,themicrocontroller
canreaditfromtheIICDregister.AnytransmissionorreceptionofdatafromtheI
2
Cbusmustbe
madeviatheIICDregister.
Register
Name
Bit
7 6 5 4 3 2 1 0
IICC0 — — — —
I2CDBNC1 I2CDBNC0 I2CEN —
IICC1 IICHCF IICHAAS IICHBB IICHTX IICTXAK IICSRW
IICRNIC IICRXAK
IICD IICDD7 IICDD6 IICDD5
IICDD4 IICDD3 IICDD2 IICDD1 IICDD0
IICA IICA6 IICA5
IICA4 IICA3 IICA2 IICA1 IICA0 —
I2CTOC I2CTOEN I2CTOF I2CTOS5 I2CTOS4 I2CTOS3 I2CTOS2 I2CTOS1 I2CTOS0
I
2
C Registers List
IICC0 Register
Bit 7 6 5 4 3 2 1 0
Name — — — — I2CDBNC1 I2CDBNC0 I2CEN —
R/W — — — — R/W R/W R/W —
POR — — — — 0 0 0 —
Bit7~4 unimplemented,readas“0”
Bit3~2 I2CDBNC1~I2CDBNC0:I
2
CDebounceTimeSelection
00:Nodebounce
01:2systemclockdebounce
10:4systemclockdebounce
11:4systemclockdebounce
Bit1 I2CEN:I
2
Cenable
0:Disable(GPIOpin-sharedwithI
2
CisI/Ofunction)
1:Enable(GPIOpin-sharedwithI
2
CisI
2
Cfunction)
Bit0 Unimplemented,readas"0"
I
2
Cfunctioncouldbeturnedofforturnedonbycontrollingtherelatedpin-sharingcontrolbitwhich
decidesthefunctionoftheI/Oportspin-sharedthepinsSDAandSCL.WhentheI/Oportspin-
sharedthepinsSDAandSCLarechosentothefunctionsotherthanSDAandSCLbypin-sharing
controlbit,I
2
Cfunctionisturnedoffanditsoperatingcurrentwillbereducedtoaminimumvalue.
Incontrary,I
2
CfunctionisturnedonwhentheI/Oportspin-sharedthepinsSDAandSCLare
chosentothepinsSDAandSCLbycontrollingpin-sharingcontrolbit.