English
Language : 

H8S2199R Datasheet, PDF (255/1222 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2100 Series
Section 10 I/O Port
10.6 Port 4
10.6.1 Overview
Port 4 is an 8-bit I/O port. Table 10.14 shows the port 4 configuration.
Port 4 consists of pins that are used both as standard I/O ports (P47 to P40) and output compare
output (FTOA, FTOB), input capture input (FTIA, FTIB, FTIC, FTID) or 14-bit PWM output
(PWM14). It is switched by port mode register 4 (PMR4), timer output compare control register
(TOCR), and port control register 4 (PCR4).
Table 10.14 Port 4 Configuration
Port
Function
Alternative Function
Port 4
P47 (standard I/O port)
RPTRG (realtime output port trigger input)
P46 (standard I/O port)
FTOB (timer X1 output compare output)
P45 (standard I/O port)
FTOA (timer X1 output compare output)
P44 (standard I/O port)
FTID (timer X1 input capture input)
P43 (standard I/O port)
FTIC (timer X1 input capture input)
P42 (standard I/O port)
FTIB (timer X1 input capture input)
P41 (standard I/O port)
FTIA (timer X1 input capture input)
P40 (standard I/O port)
PWM14 (14-bit PWM output)
Note: The H8S/2197S and H8S/2196S do not have PWM14, FTIA, FTIB, FTIC, FTID, FTOA, and
FTOB pin functions.
10.6.2 Register Configuration
Table 10.15 shows the port 4 register configuration.
Table 10.15 Port 4 Register Configuration
Name
Abbrev.
R/W
Port mode register 4
PMR4
R/W
Port control register 4
PCR4
W
Port data register 4
PDR4
R/W
Note: * Lower 16 bits of the address.
Size
Byte
Byte
Byte
Initial Value
H'7E
H'00
H'00
Address*
H'FFDB
H'FFD4
H'FFC4
Rev.2.00 Jan. 15, 2007 page 211 of 1174
REJ09B0329-0200