English
Language : 

M38203M4 Datasheet, PDF (138/344 Pages) Mitsubishi Electric Semiconductor – 8-BIT SINGLE-CHIP MICROCOMPUTER
APPLICATION
2.3 Timer X and timer Y
(2) Port P6 direction register (P6D)
The port P6 direction register (address 000D16) selects the I/O direction of port P6. Figure 2.3.12
shows the structure of the port P6 direction register.
sTimer X
The real time port RTP0 pin is also used as P60, while the RTP1 pin is also used as P61.
To use as the RTP0 pin, set bit 0 to “1” for the output mode. To use as the RTP1 pin, set bit 1 to “1”
for the output mode.
Port P6 direction register
b7 b6 b5 b4 b3 b2 b1 b0
Port P6 direction register (P6D) [Address 0D16]
B
Name
Functions
At reset R W
0 Port P6 direction 0 : Port P60 input mode
0×
register
1 : Port P60 output mode
1
0 : Port P61 input mode
0×
1 : Port P61 output mode
2 Nothing is allocated. These bits cannot be
0 ××
to written to and be read out.
7
Note : Port P6 direction register cannot be read out.
P61
RTP1
P60
RTP0
INT3
Fig. 2.3.12 Structure of port P6 direction register
2–52
3820 GROUP USER’S MANUAL