315
CHAPTER 17 SERIAL INTERFACE IIC0 (
µ
PD780344Y, 780354Y SUBSERIES ONLY)
User’s Manual U15798EJ2V0UD
Figure 17-4. Format of IIC Status Register 0 (IICS0) (2/3)
COI0
Detection of matching addresses
0
Addresses do not match.
1
Addresses match.
Condition for clearing (COI0 = 0)
Condition for setting (COI0 = 1)
• When a start condition is detected
• When the received address matches the local
• When a stop condition is detected
address (SVA0)
• Cleared by LREL0 = 1
(set at the rising edge of the eighth clock).
• When IICE0 changes from 1 to 0
• When RESET is input
TRC0
Detection of transmit/receive status
0
Receive status (other than transmit status). The SDA0 line is set for high impedance.
1
Transmit status. The value in the SO0 latch is enabled for output to the SDA0 line (valid starting at
the falling edge of the first byte’s ninth clock).
Condition for clearing (TRC0 = 0)
Condition for setting (TRC0 = 1)
<Common to master and slave>
<Master>
• When a stop condition is detected
• When a start condition is generated
• Cleared by LREL0 = 1
<Slave>
• When IICE0 changes from 1 to 0
• When “1” is input by the first byte’s LSB
• Cleared by WREL0 = 1
Note
(transfer direction specification bit)
• When ALD0 changes from 0 to 1
• When RESET is input
<Master>
• When “1” is output to the first byte’s LSB
(transfer direction specification bit)
<Slave>
• When a start condition is detected
• When “0” is input by the first byte’s LSB
(transfer direction specification bit)
• When not used for communication
ACKD0
Detection of ACK
0
ACK was not detected.
1
ACK was detected.
Condition for clearing (ACKD0 = 0)
Condition for setting (ACKD0 = 1)
• When a stop condition is detected
• After the SDA0 line is set to low level at the
• At the rising edge of the next byte’s first clock
rising edge of the SCL0’s ninth clock
• Cleared by LREL0 = 1
• When IICE0 changes from 1 to 0
• When RESET is input
Note
When bit 3 (TRC0) of IIC status register 0 (IICS0) is set to 1, bit 5 (WREL0) of IIC control register 0 (IICC0)
is set during the ninth clock and wait is canceled, after which TRC0 is cleared and the SDA0 line is set
to high impedance.
Содержание mPD780344 Series
Страница 2: ...2 User s Manual U15798EJ2V0UD MEMO...