CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Preliminary User’s Manual U16898EJ1V0UD
89
(5) Port mode register 3 (PM3)
This register sets port 3 input/output in 1-bit units.
When using the P31/TO00/TI010/INTP2 pin for timer output, set PM31 and the output latch of P31 to 0.
When using the P30/TI000/INTP0 and P31/TO00/TI010/INTP2 pins as a timer input, set PM30 and PM31 to 1.
At this time, the output latches of P30 and P31 can be either 0 or 1.
PM3 is set by a 1-bit or 8-bit memory manipulation instruction.
Reset input sets the value of PM3 to FFH.
Figure 6-9. Format of Port Mode Register 3 (PM3)
7
1
6
1
5
1
4
1
3
1
2
1
1
PM31
0
PM30
Symbol
PM3
Address: FF23H After reset: FFH R/W
PM3n
0
1
P3n pin I/O mode selection (n = 0 or 1)
Output mode (output buffer on)
Input mode (output buffer off)
www.DataSheet4U.com
www.DataSheet4U.com