
Chapter 15 Inter-Integrated Circuit (IICV3) Block Description
MC9S12XE-Family Reference Manual , Rev. 1.07
608
Freescale Semiconductor
15.3.1.6
IIC Control Register 2(IBCR2)
Figure 15-9. IIC Bus Control Register 2(IBCR2)
This register contains the variables used in general call and in ten-bit address.
Read and write anytime
15.4
Functional Description
This section provides a complete functional description of the IICV3.
15.4.1
I-Bus Protocol
The IIC bus system uses a serial data line (SDA) and a serial clock line (SCL) for data transfer. All devices
connected to it must have open drain or open collector outputs. Logic AND function is exercised on both
lines with external pull-up resistors. The value of these resistors is system dependent.
Normally,astandardcommunicationiscomposedoffourparts:STARTsignal,slaveaddresstransmission,
data transfer and STOP signal. They are described briefly in the following sections and illustrated in
Figure 15-10
.
Module Base + 0x0005
7
6
5
4
3
2
1
0
R
GCEN
ADTYPE
0
0
0
AD10
AD9
AD8
W
Reset
0
0
0
0
0
0
0
0
Table 15-8. IBCR2 Field Descriptions
Field
Description
7
GCEN
General Call Enable
.
0 General call is disabled. The module dont receive any general call data and address.
1 enable general call. It indicates that the module can receive address and any data.
6
ADTYPE
Address Type—
This bit selects the address length. The variable must be configured correctly before IIC enters
slave mode.
0 7-bit address
1 10-bit address
5,4,3
RESERVED
Reserved
— Bit 5,4 and 3 of the IBCR2 are reserved for future compatibility. These bits will always read 0.
2:0
AD[10:8]
Slave Address [10:8]
—These 3 bits represent the MSB of the 10-bit address when address type is asserted
(ADTYPE = 1).