A SERVICE OF

logo

258
CHAPTER 10 8-BIT TIMER/EVENT COUNTERS 5 AND 6
(5) Port mode register 10 (PM10)
This register sets port 10 input/output in 1-bit units.
When using the P100/TI5/TO5 and P101/TI6/TO6 pins for timer output, set PM100, PM101 and output
latches of P100 and P101 to 0.
PM10 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets PM10 to FFH.
Figure 10-7. Port Mode Register 10 Format
1
7
1
6
11
4
PM103
3210
FF2AH
Address
PM10
Symbol
PM102 PM101 PM100
5
FFH
After
Reset
R/W
R/W
PM10n
0
1
P10n Pin Input/Output Mode Selection
(n = 0 to 3)
Output mode (output buffer ON)
Input mode (output buffer OFF)