Fig. 5.5.11 Flowchart Of Return Ack Processing Routine; Fig. 5.5.12 Flowchart Of Return Nack Processing Routine - Renesas 7200 Series User Manual

Mitsubishi 8-bit single-chip microcomputer
Table of Contents

Advertisement

5.5 Example of I
(8) Return ACK processing routine

Fig. 5.5.11 Flowchart of return ACK processing routine

(9) Return NACK processing routine

Fig. 5.5.12 Flowchart of return NACK processing routine

2
C-BUS control by software (M37220M3-XXXSP/FP)
Return ACK
Bit 0 of port P2 direction register
= "output mode"
P2
(SDA) = "0"
0
Wait 6 µ s
P2
(SCL) = "1"
1
Wait 6 µ s
P2
(SCL) = "0"
1
RETURN
Return NACK
Bit 0 of port P2 direction register
= "output mode"
P2
(SDA) = "1"
0
Wait 6 µ s
P2
(SCL) = "1"
1
Wait 6 µ s
P2
(SCL) = "0"
1
RETURN
7220 Group User's Manual
APPLICATION
5-33

Advertisement

Table of Contents
loading

This manual is also suitable for:

7220

Table of Contents