Port 6; Overview; Register Configuration; Port F - Hitachi H8S/2678 Series Reference Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

5.7

Port 6

5.7.1

Overview

Port 6 is a 6-bit I/O port. Port 6 pins also function as 8-bit timer input/output pins (TMRI0,
TMCI0, TMO0, TMRI1, TMCI1, and TMO1), interrupt input pins (IRQ13 to IRQ8), and DMAC
input/output pins (DREQ0, TEND0, DACK0, DREQ1, TEND1, and DACK1). Port 6 pin
functions are the same in all operating modes.
DMAC input/output pins can be switched to port 7 by setting the DMACS bit in PFCR2. When
pins P65 to P60 are used for IRQ input, they are Schmitt-trigger inputs.
Figure 5.6 shows the port 6 pin configuration.
Port 6
5.7.2

Register Configuration

Table 5.11 shows the port 6 register configuration.
Table 5.11 Port 6 Registers
Name
Port 6 data direction register
Port 6 data register
Port 6 register
Port function control register 2
Note: * Lower 16 bits of the address.
Port 6 pins
P65 (I/O) / TMO1 (output) / DACK1 (output) / IRQ13 (input)
P64 (I/O) / TMO0 (output) / DACK0 (output) / IRQ12 (input)
P63 (I/O) / TMCI1 (input) / TEND1 (output) / IRQ11 (input)
P62 (I/O) / TMCI0 (input) / TEND0 (output) / IRQ10 (input)
P61 (I/O) / TMRI1 (input) / DREQ1 (input) / IRQ9 (input)
P60 (I/O) / TMRI0 (input) / DREQ0 (input) / IRQ8 (input)
Figure 5.6 Port 6 Pin Functions
Abbreviation
P6DDR
P6DR
PORT6
PFCR2
R/W
Initial Value
W
H'00
R/W
H'00
R
Undefined
R/W
H'0E
Address*
H'FE25
H'FF65
H'FF55
H'FE34
227

Advertisement

Table of Contents
loading

Table of Contents