Port 4 Data Register (P4Dr); Pin Functions - Renesas H8S Series Hardware Manual

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

Advertisement

8.4.2

Port 4 Data Register (P4DR)

P4DR stores output data for the port 4 pins.
Bit
Bit Name
7
P47DR
6
P46DR
5
P45DR
4
P44DR
3
P43DR
2
P42DR
1
P41DR
0
P40DR
8.4.3

Pin Functions

• P47/PWX1
The pin function is switched as shown below according to the combination of the OEB bit in
DACR of PWMX, and P47DDR bit.
OEB
P47DDR
Pin function
• P46/PWMX0
The pin function is switched as shown below according to the combination of the OEA bit in
DACR of PWMX, and the P46DDR bit.
OEA
P46DDR
Pin function
Initial Value
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
P47 input pin
0
P46 input pin
Description
P4DR stores output data for the port 4 pins that are
used as the general output port.
If a port 4 read is performed while the P4DDR bits
are set to 1, the P4DR values are read. If a port 4
read is performed while the P4DDR bits are cleared
to 0, the pin states are read.
0
1
P47 output pin
0
1
P46 output pin
Rev. 3.00 Jul. 14, 2005 Page 175 of 986
Section 8 I/O Ports
1
PWX1 output pin
1
PWX0 output pin
REJ09B0098-0300

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2100 seriesH8s/2114rR4f2114r

Table of Contents