Справочник Пользователя для IBM uPD78082(A)

Скачать
Страница из 274
89
CHAPTER 6   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 6-7.  Port Mode Register 10 Format
Caution
Set 1 to the bits 2 to 7.
0
1
2
3
4
5
6
7
Symbol
PM100
FF2AH
FFH
R/W
Address
After Reset
R/W
PM101
1
1
1
1
1
1
PM10
PM10n P10n Pin Input/Output Mode Selection (n = 0, 1)
0
Output mode (output buffer ON)
1
Input mode (output buffer OFF)