R01UH0136EJ0210 Rev.2.10
Page 578 of 800
Jul 31, 2012
M16C/64A Group
25. Multi-master I
2
C-bus Interface
When using the I
2
C-bus interface interrupt, set the IFSR22 bit in the IFSR2A register to 1 (I
2
C-bus
interrupt). When using the SCL/SDA interrupt, set the IFSR23 bit in the IFSR2A register to 1 (SCL/SDA
interrupt).
The SCL/SDA interrupt is enabled even in wait mode and stop mode.
The IR bit in the SCLDAIC register may become 1 (interrupt requested) when the ES0 bit in the S1D0
register, the SIP bit in the S2D0 register, or the SIS bit in the S2D0 register is changed. Therefore, follow
the procedure below to change these bits. Refer to 14.13 “Notes on Interrupts”.
(1) Set bits ILVL2 to ILVL0 in the SCLDAIC register to 000b (interrupt disabled).
(2) Set the ES0 bit in the S1D0 register and bits SIP and SIS in the S2D0 register.
(3) Set the IR bit in the SCLDAIC register to 0 (no interrupt request).
Table 25.17
Registers Associated with I
2
C Interface Interrupts
Address
Register
Symbol
Reset Value
I2C-bus Interface Interrupt Control
Register
SCL/SDA Interrupt Control Register
Summary of Contents for M16C/60 Series
Page 853: ...M16C 64A Group R01UH0136EJ0210...