English
Language : 

MC9S12HY64 Datasheet, PDF (376/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Inter-Integrated Circuit (IICV3) Block Description
10.3.1.6 IIC Control Register 2(IBCR2)
Module Base + 0x0005
7
6
5
4
3
2
1
0
R
0
0
0
GCEN
ADTYPE
ADR10
ADR9
ADR8
W
Reset
0
0
0
0
0
0
0
0
Figure 10-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
Table 10-10. 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 — Bit 5,4 and 3 of the IBCR2 are reserved for future compatibility. These bits will always read 0.
RESERVED
2:0
Slave Address [10:8] —These 3 bits represent the MSB of the 10-bit address when address type is asserted
ADR[10:8] (ADTYPE = 1).
10.4 Functional Description
This section provides a complete functional description of the IICV3.
10.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, a standard communication is composed of four parts: START signal, slave address transmission,
data transfer and STOP signal. They are described briefly in the following sections and illustrated in
Figure 10-10.
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
376
Freescale Semiconductor