Datasheet
Section 16 I
2
C Bus Interface [H8S/2138 Group Option]
Rev. 4.00 Jun 06, 2006 page 482 of 1004
REJ09B0301-0400
Bit 7—DDC Mode Switch Enable (SWE): Selects the function for automatically switching IIC
channel 0 from formatless mode to the I
2
C bus format.
Bit 7
SWE Description
0 Automatic switching of IIC channel 0 from formatless mode to I
2
C bus format is
disabled (Initial value)
1 Automatic switching of IIC channel 0 from formatless mode to I
2
C bus format is
enabled
Bit 6—DDC Mode Switch (SW): Selects either formatless mode or the I
2
C bus format for IIC
channel 0.
Bit 6
SW Description
0 IIC channel 0 is used with the I
2
C bus format (Initial value)
[Clearing conditions]
1. When 0 is written by software
2. When a falling edge is detected on the SCL pin when SWE = 1
1 IIC channel 0 is used in formatless mode
[Setting condition]
When 1 is written in SW after reading SW = 0
Bit 5—DDC Mode Switch Interrupt Enable Bit (IE): Enables or disables an interrupt request to
the CPU when automatic format switching is executed for IIC channel 0.
Bit 5
IE Description
0 Interrupt when automatic format switching is executed is disabled (Initial value)
1 Interrupt when automatic format switching is executed is enabled