Fig. 5.5.7 Flowchart Of Start Condition Processing Routine; Fig. 5.5.8 Flowchart Of Stop Condition Processing Routine; Fig. 5.5.9 Flowchart Of Bus H Processing Routine - Renesas 7200 Series User Manual

Mitsubishi 8-bit single-chip microcomputer
Table of Contents

Advertisement

5.5 Example of I
(4) START condition processing routine

Fig. 5.5.7 Flowchart of START condition processing routine

(5) STOP condition processing routine

Fig. 5.5.8 Flowchart of STOP condition processing routine

(6) Bus H processing routine

Fig. 5.5.9 Flowchart of bus H processing routine

2
C-BUS control by software (M37220M3-XXXSP/FP)
START condition
P2
(SDA) = "1"
0
Bit 0 of port P2 direction register
= "output mode"
Wait 6 µ s
P2
(SCL) = "1"
1
P2
(SDA) = "0"
0
Wait 6 µ s
P2
(SCL) = "0"
1
RETURN
STOP condition
Bit 0 of port P2 direction register
= "output mode"
P2
(SDA) = "0"
0
P2
(SCL) = "1"
1
Wait 6 µ s
P2
(SDA) = "1"
0
RETURN
Bus H
Bit 0 of port P2 direction register
= "output mode"
P2
(SCL) = "1"
1
Wait 6 µ s
P2
(SDA) = "1"
0
RETURN
7220 Group User's Manual
APPLICATION
5-31

Advertisement

Table of Contents
loading

This manual is also suitable for:

7220

Table of Contents