S3F84B8_UM_REV 1.00
4 CONTROL REGISTERS
4-27
4.1.27 P2CONH — PORT 2 CONTROL REGISTER (HIGH BYTE): E8H, BANK0
Bit Identifier
.7
.6
.5
.4
.3
.2
.1
.0
RESET Value
0 0 0 0 0 0 0 0
Read/Write
R/W R/W R/W R/W R/W R/W R/W R/W
Port2, P2.7/ADC7 Configuration Bits
0
0
Schmitt trigger input
0
1
Schmitt trigger input; enables pull-up.
1
0
Push pull output
.7–.6
1
1
Alternative function: ADC7 input
Port 2, P2.6/ADC6 Configuration Bits
0
0
Schmitt trigger input
0
1
Schmitt trigger input; enables pull-up.
1
0
Push pull output
.5–.4
1
1
Alternative function: ADC6 input
Port 2, P2.5/ADC5/CMP3_N Configuration Bits
0
0
Schmitt trigger input
0
1
Alternative function: Comparator 3 negative input
1
0
Push pull output
.3–.2
1
1
Alternative function: ADC5 input
Port 2, P2.4/ADC4/CMP2_N Configuration Bits
0
0
Schmitt trigger input
0
1
Alternative function: Comparator 2 negative input
1
0
Push pull output
.1–.0
1
1
Alternative function: ADC4 input