XC2200 Derivatives
System Units (Vol. 1 of 2)
Parallel Ports
User’s Manual
7-16
V2.1, 2008-08
Parallel Ports, V1.6D6
7.2.6
Port Digital Input Disable Register
Ports 5 and 15 have, additionally to the analog input functionality, digital input
functionality too. In order to save switching of the internal Schmitt triggers of the digital
inputs, they can be disabled by means of Px_DIDIS Register. P5_DIDIS is a 16-bit
register, and P15_DIDIS is an 8-bit register.
P5_DIDIS
Port 5 Digital Input Disable RegisterSFR (FE8A
H
) Reset
Value:
0000
H
P15_DIDIS
Port 15 Digital Input Disable RegisterSFR (FE9E
H
) Reset
Value:
0000
H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
P15 P14 P13 P12 P11 P10
P9
P8
P7
P6
P5
P4
P3
P2
P1
P0
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Field
Bit
Type
Description
Py
(y = 0-15)
y
rw
Port 5 Bit y Digital Input Control
0
Digital input stage (schmitt trigger) is
enabled.
1
Digital input stage (schmitt trigger) is
disabled, necessary if pin is used as
analog input.