136
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 0
User’s Manual U15798EJ2V0UD
(5) Port mode register 3 (PM3)
This register sets port 3 input/output in 1-bit units.
When using the P34/TI01/TO00 pin for timer output, set PM30 and the output latch of P30 to 0.
PM3 is set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets the value of this register to FFH.
Figure 6-6. Format of Port Mode Register 3 (PM3)
7
1
6
1
5
PM35
4
PM34
3
PM33
2
PM32
1
PM31
0
PM30
Symbol
PM3
Address: FF23H After reset: FFH R/W
PM3n
0
1
Output mode (output buffer ON)
Input mode (output buffer OFF)
P3n pin I/O mode selection (n = 0 to 5)