Pin Functions - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

9.10.3

Pin Functions

Mode 7 (On-Chip ROM Version Only): In mode 7, port C pins function as I/O ports. Input or output can be specified
for each pin on an individual bit basis. Setting a PCDDR bit to 1 makes the corresponding port C pin an output port, while
clearing the bit to 0 makes the pin an input port.
Port C pin functions in mode 7 are shown in figure 9-16.
Mode 6 (On-Chip ROM Version Only): In mode 6, port C pins function as address outputs or input ports. Input or
output can be specified on an individual bit basis. Setting a PCDDR bit to 1 makes the corresponding port C pin an
address output, while clearing the bit to 0 makes the pin an input port.
Port C pin functions in mode 6 are shown in figure 9-17.
Port C
Figure 9-16 Port C Pin Functions (Mode 7)
When PCDDR = 1
A
(output)
7
A
(output)
6
A
(output)
5
A
(output)
4
Port C
A
(output)
3
A
(output)
2
A
(output)
1
A
(output)
0
Figure 9-17 Port C Pin Functions (Mode 6)
PC
(I/O)
7
PC
(I/O)
6
PC
(I/O)
5
PC
(I/O)
4
PC
(I/O)
3
PC
(I/O)
2
PC
(I/O)
1
PC
(I/O)
0
When PCDDR = 0
PC
(input)
7
PC
(input)
6
PC
(input)
5
PC
(input)
4
PC
(input)
3
PC
(input)
2
PC
(input)
1
PC
(input)
0
Rev.6.00 Oct.28.2004 page 315 of 1016
REJ09B0138-0600H

Advertisement

Table of Contents
loading

Table of Contents