NEC mPD784225 Series User Manual page 333

16-/8-bit single-chip microcontrollers
Table of Contents

Advertisement

CHAPTER 18 I
18.5.8 Interrupt request (INTIIC0) generation timing and wait control
By setting the WTIM0 bit in I
18-2 and wait control is performed.
During Slave Operation
WTIM0
Address
Notes 1, 2
0
9
Notes 1, 2
1
9
Notes 1. The INTIIC0 signal and wait of the slave are generated on the falling edge of the ninth clock only when
the address set in slave address register 0 (SVA0) matches.
In this case, ACK is output regardless of the ACKE0 setting. The slave that received the extended code
generates INTIIC0 at the falling edge of the eighth clock.
2. When the address that received SVA0 does not match, INTIIC0 and wait are not generated.
Remark The numbers in the table indicate the number of clocks in the serial clock. In addition, the interrupt
request and wait control are both synchronized to the falling edge of the serial clock.
(1) When transmitting and receiving an address
• When the slave is operating:
• When the master is operating: The interrupt and wait timing are generated by the falling edge of the ninth
(2) When receiving data
• When the master and slave are operating: The interrupt and wait timing are set by the WTIM0 bit.
(3) When transmitting data
• When the master and slave are operating: The interrupt and wait timing are set by the WTIM0 bit.
(4) Releasing a wait
The following four methods release a wait.
2
• WREL0 = 1 in I
C bus control register 0 (IICC0)
• Writing to serial shift register 0 (IIC0)
• Setting the start condition (STT0 = 1 in IICC0)
• Setting the stop condition (SPT0 = 1 in IICC0)
When eight clock waits are selected (WTIM0 = 0), the output level of ACK must be determined before releasing
the wait.
(5) Stop condition detection
INTIIC0 is generated when the stop condition is detected.
C BUS MODE ( µ PD784225Y SUBSERIES ONLY)
2
2
C bus control register 0 (IICC0), INTIIC0 is generated at the timing shown in Table
Table 18-2. INTIIC0 Generation Timing and Wait Control
Data Reception
Data Transmission
Note 2
Note 2
8
8
Note 2
Note 2
9
9
The interrupt and wait timing are determined regardless of the WTIM0 bit.
clock regardless of the WTIM0 bit.
User's Manual U12697EJ3V0UM
During Master Operation
Address
Data Reception
9
8
9
9
Data Transmission
8
9
333

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd784225y seriesMpd784224Mpd784225Mpd78f4225Mpd784224yMpd784225y ... Show all

Table of Contents