Renesas H8/3067 Series User Manual page 307

Renesas 16-bit single-chip microcomputer
Hide thumbs Also See for H8/3067 Series:
Table of Contents

Advertisement

ABWCR and P4DDR are not initialized in software standby mode. Therefore, if a transition is
made to software standby mode while port 4 is functioning as an input/output port and a P4DDR
bit is set to 1, the corresponding pin maintains its output state.
Port 4 Data Register (P4DR): P4DR is an 8-bit readable/writable register that stores output data
for port 4. When port 4 functions as an output port, the value of this register is output. When a bit
in P4DDR is set to 1, if port 4 is read the value of the corresponding P4DR bit is returned. When a
bit in P4DDR is cleared to 0, if port 4 is read the corresponding pin logic level is read.
Bit
7
P4
Initial value
0
Read/Write
R/W
P4DR is initialized to H'00 by a reset and in hardware standby mode. In software standby mode it
retains its previous setting.
Port 4 Input Pull-Up MOS Control Register (P4PCR): P4PCR is an 8-bit readable/writable
register that controls the MOS input pull-up transistors in port 4.
Bit
7
P4 PCR
7
Initial value
0
Read/Write
R/W
In mode 6 and 7 (single-chip mode), and in 8-bit bus mode in modes 1 to 5 (expanded modes),
when a P4DDR bit is cleared to 0 (selecting generic input), if the corresponding P4PCR bit is set
to 1, the input pull-up transistor is turned on.
P4PCR is initialized to H'00 by a reset and in hardware standby mode. In software standby mode it
retains its previous setting.
6
5
P4
P4
7
6
5
0
0
R/W
R/W
6
5
P4 PCR
P4 PCR
6
5
0
0
R/W
R/W
Port 4 input pull-up control 7 to 0
These bits control input pull-up transistors built into port 4
4
3
P4
P4
4
3
0
0
R/W
R/W
Port 4 data 7 to 0
These bits store data for port 4 pins
4
3
P4 PCR
P4 PCR
P4 PCR
4
3
0
0
R/W
R/W
Rev. 4.00 Jan 26, 2006 page 283 of 938
Section 8 I/O Ports
2
1
P4
P4
P4
2
1
0
0
R/W
R/W
R/W
2
1
P4 PCR
P4 PCR
2
1
0
0
0
R/W
R/W
R/W
REJ09B0276-0400
0
0
0
0
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3067H8/3066H8/3065H8/3067rf

Table of Contents