
Rev. 1.00
179 of ���
�an�a�� 1�� �01�
Standard 8051 8-Bit Flash MCU
HT85F2260/HT85F2270/HT85F2280
I2C Serial Interface
I2C Serial Interface
I2CSTA Register
SFR Address: DDh
Bit
7
6
5
4
3
2
1
0
Name
IICS7
IICS6
IICS�
IICS4
IICS3
—
—
—
R/W
R/W
R/W
R/W
R/W
R/W
—
—
—
POR
1
1
1
1
1
—
—
—
Bit 7~3
IICS7~IICS3:
I
2
C Status Code
These Read-only bits are used to indicate the I
2
C Status code. Refer to the I
2
C Status
Code section for details. The contents of the I2CSTA register is only defined when the
SI bit is set high.
Bit 2~0
Unimplemented, read as “0”
I2CDAT Register
SFR Address: DAh
Bit
7
6
5
4
3
2
1
0
Name
D7
D6
D�
D4
D3
D�
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
Note:
The I�CDAT �egiste� is �sed as the I
�
C t�ansmitted o� �eceived data �egiste�.
I2CADR Register
SFR Address: DBh
Bit
7
6
5
4
3
2
1
0
Name
IICA6
IICA�
IICA4
IICA3
IICA�
IICA1
IICA0
GC
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
Bit 7~1
IICA6~IICA0:
I
2
C slave address
IICA6~IICA0 is the I
2
C slave address bit 6~bit 0.
When a master device, which is connected to the I
2
C bus, sends out an address, which
matches the slave address in the I2CADR register, the slave device will be selected.
Bit 0
GC:
General Call Address Acknowledge control bit
0: General Call Address is ignored
1: General Call Address is recognised
This bit is used to enable the General Call Address (00H) recognition function.
The I2CADR register contains the slave address for the I
2
C interface. In the Slave mode, the
IICA6~IICA0 bits represent a 7-bit slave address. The GC bit is used to enable the recognition
of the general call address (0x00). If the GC bit is set to “1”, the general call address recognition
function will be enabled. Otherwise, the general call address will be ignored. In the master mode,
the contents of this I2CADR register will be ignored.