2
10.3.2 I
C control register
2
I
C is controlled via three types of registers.
• IIC control register (IICC0)
• IIC status register (IICS0)
• IIC clock select register (IICCL0)
The following registers are also used.
• IIC shift register (IIC0)
• Slave address register (SVA0)
(1) IIC control register (IICC0)
This register is used to enable/disable I
IICC0 can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets IICC0 to 00H.
2
Caution In I
C bus mode, set the port 1 mode register (PM1) as follows, where each output latch is set to 0.
• Set P10 (SDA) to the output mode (PM10 = 0).
• Set P12 (SCL) to the output mode (PM12 = 0).
222
CHAPTER 10 SERIAL INTERFACE FUNCTION
2
C operations, set wait timing, and set other I
2
C operations.