Port Control Register 7(Pcr7); Port Data Register 7(Pdr7) - Hitachi H8/3672 Series Hardware Manual

Single-chip microcomputer
Table of Contents

Advertisement

9.4.1

Port Control Register 7(PCR7)

PCR7 selects inputs/outputs in bit units for pins to be used as general I/O ports of port 7.
Bit Bit Name
Initial Value R/W
7
6
PCR76
0
5
PCR75
0
4
PCR74
0
3
2
1
0
9.4.2

Port Data Register 7(PDR7)

PDR7 is a general I/O port data register of port 7.
Bit Bit Name
Initial Value R/W
7
1
6
P76
0
5
P75
0
4
P74
0
3
1
2
1
1
1
0
1
Rev. 1.0, 03/01, page 102 of 280
Description
Reserved
W
Setting a PCR7 bit to 1 makes the corresponding pin an
output port, while clearing the bit to 0 makes the pin an
W
input port. Note that the TCSRV setting of the timer V has
W
priority for deciding input/output direction of the P76/TMOV
pin.
Reserved
Description
Reserved
This bit is always read as 1 and cannot be modified.
R/W
PDR7 stores output data for port 7 pins.
R/W
PDR7 is read while PCR7 bits are set to 1, the value stored
in PDR7 is read. If PDR7 is read while PCR7 bits are
R/W
cleared to 0, the pin states are read regardless of the value
stored in PDR7.
Reserved
These bits are always read as 1 and cannot be modified.

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3672f-ztat hd64f3672H8/3670f-ztat hd64f3670

Table of Contents