Renesas H8/3067 Series User Manual page 315

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

Advertisement

becomes an output port if the corresponding bit of P6
port if this pin is cleared to 0.
P6DDR is a write-only register. Its value cannot be read. All bits return 1 when read.
P6DDR is initialized to H'80 by a reset and in hardware standby mode. In software standby mode
it retains its previous setting. Therefore, if a transition is made to software standby mode while
port 6 is functioning as an input/output port and a P6DDR bit is set to 1, the corresponding pin
maintains its output state.
Port 6 Data Register (P6DR): P6DR is an 8-bit readable/writable register that stores output data
for port 6. When port 6 functions as an output port, the value of this register is output. For bit 7, a
value of 1 is returned if the bit is read while the PSTOP bit in MSTCRH is cleared to 0, and the
P6 7 pin logic level is returned if the bit is read while the PSTOP bit is set to 1. Bit 7 cannot be
modified. For bits 6 to 0, the pin logic level is returned if the bit is read while the corresponding
bit in P6DDR is cleared to 0, and the P6DR value is returned if the bit is read while the
corresponding bit in P6DDR is set to 1.
Bit
7
P6
Initial value
1
Read/Write
R
P6DR is initialized to H'80 by a reset and in hardware standby mode. In software standby mode it
retains its previous setting.
6
5
P6
P6
6
5
7
0
0
R/W
R/W
DDR to P6
DDR is set to 1, and an input
6
0
4
3
P6
P6
P6
4
3
0
0
R/W
R/W
R/W
Port 6 data 7 to 0
These bits store data for port 6 pins
Rev. 4.00 Jan 26, 2006 page 291 of 938
Section 8 I/O Ports
2
1
0
P6
P6
2
1
0
0
0
R/W
R/W
REJ09B0276-0400
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents