CHAPTER 10 SERIAL INTERFACE FUNCTION
User’s Manual U13850EJ4V0UM
257
10.3.2 I
2
C control register
I
2
C0 and I
2
C1 are controlled by the following registers.
• IIC control registers 0, 1 (IICC0, IICC1)
• IIC status registers 0, 1 (IICS0, IICS1)
• IIC clock selection registers 0, 1 (IICCL0, IICCL1)
• IIC clock expansion registers 0, 1 (IICCE0, IICCE1)
• IIC function expansion registers 0, 1 (IICX0, IICX1)
The following registers are also used.
• IIC shift registers 0, 1 (IIC0, IIC1)
• Slave address registers 0, 1 (SVA0, SVA1)
(1) IIC control registers 0, 1 (IICC0, IICC1)
IICCn is used to enable/disable I
2
C operations, set wait timing, and set other I
2
C operations.
IICCn can be set by an 8-/1-bit memory manipulation instruction (n = 0, 1).
RESET input clears IICCn to 00H.
Caution In I
2
C0, I
2
C1 bus mode, set the port 1 mode register (PM1) and port 2 mode register (PM2) as
follows. In addition, set each output latch to 0.
•
Set P10 (SDA0) to output mode (PM10 = 0)
•
Set P12 (SCL0) to output mode (PM12 = 0)
•
Set P20 (SDA1) to output mode (PM20 = 0)
•
Set P22 (SCL1) to output mode (PM22 = 0)
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...