Hitachi H8S/2199 Hardware Manual page 245

Single-chip microcomputer
Table of Contents

Advertisement

Bits 7 to 4    P77/RP7B to P74/RP8 Pin Switching (PMRB7 to PMRB4): P77/RP7B to
P74/RP8 set whether the P7n/RPm pin is used as a P7n I/O pin or a RPm pin for the realtime
output port. (n= 7 to 4 and m= B, A, 9, or 8)
Bit n
PMRBn
Description
0
P7n/RPm pin functions as a P7n I/O pin
1
P7n/RPm pin functions as a RPm I/O pin
Bits 3 to 0    Reserved Bits: Reserved bits. When the bits are read, 1 is always read. The write
operation is invalid.
Port Control Register 7 (PCR7)
Bit :
PCR77
Initial value :
R/W :
Port control register 7, together with PMRB, enable the general-purpose input/output of port 7 and
controls realtime output in bit units.
For details, refer to section 10.8.4. Operation.
PCR7 is an 8-bit write-only register. When the PCR7 is read, 1 is always read. When reset, PCR7
is initialized to H'00.
Bits 7 to 0    P77 to P70 Pin I/O Switching (PCR77 to PCR70)
PMRB
PCR7
Bitn
Bitn
PMRBn
PCR7n
0
0
1
1
*
Note: * Don't care
7
6
PCR76
PCR75
0
0
W
W
Description
P7n/RPm pin functions as a P7n general input pin
P7n/RPm pin functions as a P7n general output pin
P7n/RPm pin functions as a RPm realtime output pin
5
4
PCR74
PCR73
0
0
W
W
(n = 7 to 4 and m = B, A, 9, and 8)
3
2
PCR72
PCR71
0
0
W
W
(n = 7 to 4 and m = B, A, 9, and 8)
Rev. 1.0, 02/00, page 231 of 1141
(Initial value)
1
0
PCR70
0
0
W
W
(Initial Value)

Advertisement

Table of Contents
loading

Table of Contents