Fig. 2.8.7 Interrupt Request Signal Generating Timing; Fig. 2.8.8 I C Status Register - Renesas 7200 Series User Manual

Mitsubishi 8-bit single-chip microcomputer
Table of Contents

Advertisement

Bit 7: Communication mode specification bit (master/slave specification bit: MST)
This bit is used for master/slave specification for data communication. When this bit is "0," the
slave is specified, so that a START condition and a STOP condition generated by the master are
received, and data communication is performed in synchronization with the clock generated by the
master. When this bit is "1," the master is specified and a START condition and a STOP condition
are generated, and also the clocks required for data communication are generated on the SCL.
The MST bit is cleared to "0" in one of the following conditions.
• Immediately after completion of 1-byte data transmission when arbitration lost is detected
• When a STOP condition is detected.
• When occurrence of a START condition is disabled by the START condition duplication preventing
function (Note).
• At reset
Figure 2.8.7 shows the interrupt request signal generating timing, Figure 2.8.8 shows the I
register.
Note: The START condition duplication prevention function disables the START condition generation,
reset of bit counter reset, and SCL output when the following condition is satisfied:
a START condition is set by another master device.
2
I
C Status Register
b7 b6 b5 b4 b3 b2 b1 b0
2
Fig. 2.8.8 I
C status register
FUNCTIONAL DESCRIPTION

Fig. 2.8.7 Interrupt request signal generating timing

2
I
C status register (S1) [Address 00D9
B
Name
0
Last receive bit (LRB)
(See note)
1
General call detecting flag
(AD0) (See note)
2
Slave address comparison
flag (AAS) (See note)
3
Arbitration lost detecting flag
(AL) (See note)
4
I
2
C-BUS interface interrupt
request bit (PIN)
5
Bus busy flag (BB)
6, 7
Communication mode
specification bits
(TRX, MST)
Note : These bits and flags can be read out, but cannnot be written.
7220 Group User's Manual
2.8 Multi-master I
SCL
PIN
IICIRQ
]
16
Functions
0 : Last bit = "0 "
1 : Last bit = "1 "
0 : No general call detected
1 : General call detected
0 : Address mismatch
1 : Address match
0 : Not detected
1 : Detected
0 : Interrupt request issued
1 : No interrupt request issued
0 : Bus free
1 : Bus busy
b7 b6
0
0 : Slave recieve mode
0
1 : Slave transmit mode
1
0 : Master recieve mode
1
1 : Master transmit mode
2
C-BUS interface
2
C status
After reset R W
Indeterminate
R —
0
R —
0
R —
0
R —
1
R W
0
R W
0
R W
2-57

Advertisement

Table of Contents
loading

This manual is also suitable for:

7220

Table of Contents