Section 9 I/O Ports - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Table 9.1 is a summary of the port functions. The pins of each port also function as input/output
pins of peripheral modules and interrupt input pins. Each input/output port includes a data
direction register (DDR) that controls input/output and a data register (DR) that stores output data.
DDR and DR are not provided for an input-only port.
Ports 1 to 3, 6, and A have built-in input pull-up MOSs. For port A, the on/off status of the input
pull-up MOS is controlled by DDR and ODR. Ports 1 to 3 and 6 have an input pull-up MOS
control register (PCR), in addition to DDR and DR, to control the on/off status of the input pull-up
MOSs.
Ports 1 to 6, 9, and A can drive a single TTL load and 30 pF capacitive load. All the I/O ports can
drive a Darlington transistor when in output mode. Port 8 is an NMOS push-pull output.
Table 9.1
Port Functions
Port
Description
Port
General I/O port
1
also functioning
as PWM output,
CompactFlash
address output,
and address
output
Port
General I/O port
2
also functioning
as PWM output,
CompactFlash
address output,
and address
output

Section 9 I/O Ports

Extended Mode
Mode 2, Mode 3
(EXPE = 1)
P17/A7/CPA7
P16/A6/CPA6
P15/A5/CPA5
P14/A4/CPA4
P13/A3/CPA3
P12/A2/CPA2
P11/A1/CPA1
P10/A0/CPA0
P27/A15
P26/A14
P25/A13
P24/A12
P23/A11/CPREG
P22/A10/CPA10
P21/A9/CPA9
P20/A8/CPA8
Single-Chip Mode
Mode 2, Mode 3
(EXPE = 0)
P17/PW7
P16/PW6
P15/PW5
P14/PW4
P13/PW3
P12/PW2
P11/PW1
P10/PW0
P27/PW15
P26/PW14
P25/PW13
P24/PW12
P23/PW11
P22/PW10
P21/PW9
P20/PW8
Rev. 3.00 Jan 25, 2006 page 205 of 872
Section 9 I/O Ports
I/O Status
Built-in input
pull-up MOSs
LED drive
capability
(sink current
5 mA)
Built-in input
pull-up MOSs
LED drive
capability
(sink current
5 mA)
REJ09B0286-0300

Advertisement

Table of Contents
loading

Table of Contents