Port 4; Overview; Register Configuration - Renesas Hitachi H8S/2194 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

11.6

Port 4

11.6.1

Overview

Port 4 is an 8-bit I/O port. Table 11.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 (PRM4), timer output compare control register
(TOCR), and port control register 4 (PCR4).
Table 11.14 Port 4 Configuration
Port
Function
Port 4
P47 (standard I/O port)
P46 (standard I/O port)
P45 (standard I/O port)
P44 (standard I/O port)
P43 (standard I/O port)
P42 (standard I/O port)
P41 (standard I/O port)
P40 (standard I/O port)
11.6.2

Register Configuration

Table 11.15 shows the port 4 register configuration.
Table 11.15 Port 4 Register Configuration
Name
Port mode register 4
Port control register 4
Port data register 4
Note:
*
Lower 16 bits of the address.
Abbrev.
R/W
PMR4
R/W
PCR4
W
PDR4
R/W
Alternative Function
None
FTOB (timer X1 output compare output)
FTOA (timer X1 output compare output)
FTID (timer X1 input capture input)
FTIC (timer X1 input capture input)
FTIB (timer X1 input capture input)
FTIA (timer X1 input capture input)
PWM14 (14-bit PWM output)
Size
Initial Value
Byte
H'FE
Byte
H'00
Byte
H'00
Rev. 2.0, 11/00, page 261 of 1037
Address*
H'FFDB
H'FFD4
H'FFC4

Advertisement

Table of Contents
loading

Table of Contents