Datasheet

M16C/6S Group Programmable I/O Ports
R01DS0201EJ0502 Rev.5.02 page 140 of 203
Dec 25, 2012
Figure 1.18.3. I/O Ports (3)
P6
2
, P6
6
, P7
1
Data bus
Pull-up selection
Direction register
Port latch
Input to respective peripheral functions
(Note 1)
P7
0
Data bus
Direction register
Port latch
Input to respective peripheral functions
(Note 2)
Output
“1”
P8
5
Data bus
(Note 1)
P6
3
, P6
7
Output
“1”
Data bus
Pull-up selection
Direction register
Port latch
(Note 1)
Switching between CMOS and Nch
Note 2: symbolizes a parasitic diode.
Note 1: symbolizes a parasitic diode.
Make sure the input voltage on each port will not exceed Vcc.
Switching
between
CMOS and Nch