Figure 9-7 Port 2 Low-Byte Control Register (P2Conl) - Samsung S3F84B8 User Manual

8-bit cmos
Hide thumbs Also See for S3F84B8:
Table of Contents

Advertisement

S3F84B8_UM_REV 1.00
NOTE:
Port 2 Control Register, Low Byte (P2CONL)
E8H, Set1, Bank0, R/W, Reset value:00H
MSB
.7
.6
P2.3
/ADC3(OA_O)
.7 .6 bit/P2.3/ADC3(OA_O)
00
Input mode
01
Input mode with pull-up
10
Push-pull output
11
Alternative function: ADC3 input
.5 .4 bit/P2.2/ADC2/OA_N
00
Input mode
01
Alternative function: OPAMP negative input
10
Push-pull output
11
Alternative function: ADC2 input
.3 .2 bit/P2.1/ADC1/OA_P
00
Input mode
Alternative function: OPAMP positive input
01
10
Push-pull output
11
Alternative function: ADC1 input
.1 .0 bit/P2.0/ADC0/TDOUT
Input mode
00
01
Alternative function: TDOUT
10
Push-pull output
11
Alternative function: ADC0 input
when OP AMP is enabled, P2CON.3 must be configured as ADC input no matter
you want to use the internal ADC or not
Figure 9-7
Port 2 Low-Byte Control Register (P2CONL)
.5
.4
.3
.2
P2.1
P2.2
/ADC1
/ADC2
/OA_P
/OA_N
.
9-11
.1
.0
LSB
P2.0
/ADC0
/TDOUT
9 I/O PORTS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents