Renesas 32176 Manual De Usuario

Descargar
Página de 92
32176 Group 
Starter Kit User’s Manual M3A-2152 
REJ10B0224-0300/Rev.3.00 
Jan. 2007 
Page 53 of 82 
 
2.7 General-purpose 
Input 
Port Control Circuit   
The general-purpose input port control circuit is used to control the status of the M32R/ECU ports 
P130–P137 by using toggle switches (S0–S7). 
 
 
U1
M32R/ECU
VCC
P130
P131
P132
P133
P134
P135
P136
P137
RA7
2
1
3
S0
2
1
3
S1
2
1
3
S2
2
1
3
S3
2
1
3
S4
2
1
3
S5
2
1
3
S6
2
1
3
S7
RA5
 
 
Figure 2.7    General-purpose Input Port Control Circuit 
 
Table 2.10  Relationship Between  
Toggle Switches and Ports 
Table 2.11    Toggle Switch Positions 
Toggle Switch Name 
Corresponding 
M32R/ECU Port 
Lever Direction 
Port Input Level 
S0 P130 
Up High 
S1 P131 
Middle 
Open 
S2 P132 
 
Down Low 
S3 P133 
S4 P134 
S5 P135 
S6 P136 
S7 P137 
 
Up
Middle
Down
Lever direction
Port input level
H
Open
L
 
Figure 2.8  Toggle Switch Positions