298
CHAPTER 18 I
2
C BUS MODE (
µ
PD784225Y SUBSERIES ONLY)
User’s Manual U12697EJ3V0UM
Figure 18-3. Format of I
2
C Bus Control Register 0 (IICC0) (1/4)
Address: 0FFB0H
After reset: 00H
R/W
Symbol
7
6
5
4
3
2
1
0
IICC0
IICE0
LREL0
WREL0
SPIE0
WTIM0
ACKE0
STT0
SPT0
IICE0
I
2
C operation enabled
0
Operation disabled. Presets the I
2
C bus status register (IICS0). Stops internal operation.
SCL0 and SDA0 lines output low level.
1
Enables operation.
•
Clear condition (IICE0 = 0)
•
Set condition (IICE0 = 1)
•
Cleared by an instruction
•
Set by an instruction
•
When RESET is input
LREL0
Release communication
0
Normal operation
1
Releases microcontroller from the current communication and sets it in the wait state. Automatically
clears after execution.
The extended code that is unrelated to the base is used during reception.
The SCL0 and SDA0 lines are put in the high impedance state.
The following flags are cleared.
• STD0
• ACKD0
• TRC0
• COI0
• EXC0
• MSTS0
• STT0
• SPT0
Until the following communication participation conditions are satisfied, the wait state that was released from
communication is entered.
•
Start as the master after detecting the stop condition.
•
Address match or extended code reception after the start condition
Clear condition (LREL0 = 0)
Note
Set condition (LREL0 = 1)
•
Automatically cleared after execution.
•
Set by an instruction
•
When RESET is input
WREL0
Wait release
0
The wait is not released.
1
The wait is released. After the wait is released, it is automatically cleared.
Clear condition (WREL0 = 0)
Note
Set condition (WREL0 = 1)
•
Automatically cleared after execution.
•
Set by an instruction
•
When RESET is input
SPIE0
Enable/disable the generation of interrupt requests by stop condition detection
0
Disable
1
Enable
Clear condition (SPIE0 = 0)
Note
Set condition (SPIE0 = 1)
•
Cleared by an instruction
•
Set by an instruction
•
When RESET is input
Note
This flag signal becomes invalid by setting IICE0 to 0.