Port 3; Overview; Register Configuration - Renesas H8S Series Hardware Manual

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

Advertisement

9.4

Port 3

9.4.1

Overview

Port 3 is a 6-bit I/O port. Port 3 pins also function as SCI I/O pins (TxD0, RxD0, SCK0, TxD1, RxD1, and SCK1). Port 3
pin functions are the same in all operating modes.
Figure 9-3 shows the port 3 pin configuration.
9.4.2

Register Configuration

Table 9-6 shows the port 3 register configuration.
Table 9-6
Port 3 Registers
Name
Port 3 data direction register
Port 3 data register
Port 3 register
Port 3 open drain control register
Notes: 1. Lower 16 bits of the address.
2. Value of bits 5 to 0.
Port 3 Data Direction Register (P3DDR)
Bit
:
7
Initial value :
Undefined Undefined
R/W
:
P3DDR is an 8-bit write-only register, the individual bits of which specify input or output for the pins of port 3. Bits 7 and
6 are reserved. P3DDR cannot be read; if it is, an undefined value will be read.
Setting a P3DDR bit to 1 makes the corresponding port 3 pin an output pin, while clearing the bit to 0 makes the pin an
input pin.
Port 3
Figure 9-3 Port 3 Pin Functions
Abbreviation
P3DDR
P3DR
PORT3
P3ODR
6
5
4
P35DDR P34DDR P33DDR P32DDR P31DDR P30DDR
0
0
W
W
Port 3 pins
P3
(I/O)/
SCK1 (I/O)
5
P3
(I/O)/
SCK0 (I/O)
4
P3
(I/O)/
RxD1 (input)
3
P3
(I/O)/
RxD0 (input)
2
P3
(I/O)/
TxD1 (output)
1
P3
(I/O)/
TxD0 (output)
0
R/W
Initial Value*
W
H'00
R/W
H'00
R
Undefined
R/W
H'00
3
2
1
0
0
0
W
W
W
Rev.6.00 Oct.28.2004 page 289 of 1016
2
1
Address*
H'FEB2
H'FF62
H'FF52
H'FF76
0
0
W
REJ09B0138-0600H

Advertisement

Table of Contents
loading

Table of Contents