Hitachi H*/3694F-ZTAT TV Mount User Manual


 
Rev. 1.0, 07/01, page 124 of 372
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 Description
7 −− Reserved
6
5
4
PCR76
PCR75
PCR74
0
0
0
W
W
W
Setting a PCR7 bit to 1 makes the corresponding pin an
output port, while clearing the bit to 0 makes the pin an
input port. Note that the TCSRV setting of the timer V has
priority for deciding input/output direction of the P76/TMOV
pin.
3
2
1
0
Reserved
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 Description
7 1 Reserved
This bit is always read as 1 and cannot be modified.
6
5
4
P76
P75
P74
0
0
0
R/W
R/W
R/W
PDR7 stores output data for port 7 pins.
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
cleared to 0, the pin states are read regardless of the value
stored in PDR7.
3
2
1
0
1
1
1
1
Reserved
These bits are always read as 1 and cannot be modified.