Datasheet

Section 10B I/O Ports
(H8S/2695)
R01UH0166EJ0600 Rev. 6.00 Page 521 of 1434
Mar 02, 2011
H8S/2633 Group, H8S/2633 F-ZTAT
TM
,
H8S/2633R F-ZTAT
TM
, H8S/2695
A7
A6
A5
A4
A3
A2
A1
A0
(output)
(output)
(output)
(output)
(output)
(output)
(output)
(output)
PCDDR= 1
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
(input)
(input)
(input)
(input)
(input)
(input)
(input)
(input)
PCDDR= 0
Port C
Figure 10B.10 Port C Pin Functions (Mode 6)
(3) Mode 7
In mode 7, port C pins function as I/O ports and I/O can be specified for each pin in bit units.
When each bit in PCDDR is set to 1, the corresponding pin functions as an output port and when
the bit is cleared to 0, the pin functions as an input port.
Figure 10B.11 shows the port C pin functions.
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
(I/O)
(I/O)
(I/O)
(I/O)
(I/O)
(I/O)
(I/O)
(I/O)
Port C
Figure 10B.11 Port C Pin Functions (Mode 7)