C8051F040/1/2/3/4/5/6/7
SFR Definition 7.1. AMX2CF: AMUX2 Configuration
R
R
R
R
R/W
R/W
R/W
R/W
Reset Value
-
-
-
-
PIN67IC PIN45IC PIN23IC PIN01IC 00000000
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
SFR Address: 0xBA
SFR Page: 2
Bits7-4:
Bit3:
Bit2:
Bit1:
Bit0:
UNUSED. Read = 0000b; Write = don’t care
PIN67IC: P1.6, P1.7 Input Pair Configuration Bit
0: P1.6 and P1.7 are independent single-ended inputs
1: P1.6, P1.7 are (respectively) +, - differential input pair
PIN45IC: P1.4, P1.5 Input Pair Configuration Bit
0: P1.4 and P1.5 are independent single-ended inputs
1: P1.4, P1.5 are (respectively) +, - differential input pair
PIN23IC: P1.2, P1.3 Input Pair Configuration Bit
0: P1.2 and P1.3 are independent single-ended inputs
1: P1.2, P1.3 are (respectively) +, - differential input pair
PIN01IC: P1.0, P1.1 Input Pair Configuration Bit
0: P1.0 and P1.1 are independent single-ended inputs
1: P1.0, P1.1 are (respectively) +, - differential input pair
NOTE: The ADC2 Data Word is in 2’s complement format for channels configured as differential.
SFR Definition 7.2. AMX2SL: AMUX2 Channel Select
R
R
R
R
R
R/W
R/W
R/W
Reset Value
-
-
-
-
- AMX2AD2 AMX2AD1 AMX2AD0 00000000
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
SFR Address: 0xBB
SFR Page: 2
Bits7-3: UNUSED. Read = 00000b; Write = don’t care
Bits2-0: AMX2AD2-0: AMX2 Address Bits
000-111b: ADC Inputs selected per Table 7.1.
Rev. 1.5
95