CHAPTER 7 8-BIT TIMERS 50, 60, AND 61
User’s Manual U15331EJ4V1UD
133
(5) Port mode register 3 (PM3)
This register is used to set the I/O mode of port 3 in 1-bit units.
When using the P30/INTP0/TO50/TMI60 pin as a timer output (TO50), set PM30 and the P30 output latch to 0.
When used as a timer input (TMI60), set PM30 to 1.
When using the P31/INTP1/TO60 pin as a timer output (TO60), set PM31 and the P31 output latch to 0.
When using the P32/INTP2/TO61/TMI61 pin as a timer input (TMI61), set PM32 to 1. When used as a timer
output (TO61), set PM32 and the P32 output latch to 0.
PM3 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets this register to FFH.
Figure 7-10. Format of Port Mode Register 3
Symbol 7 6 5 4 3 2 1 0 Address After reset R/W
PM3 1 1 1 PM34 PM33 PM32 PM31 PM30 FF23H FFH R/W
PM3n I/O mode of P3n pin
(n = 0 to 2)
0 Output mode (output buffer is on)
1 Input mode (output buffer is off)