Samsung S3C8245 Microscope & Magnifier User Manual


 
S3C8245/P8245/C8249/P8249 CONTROL REGISTER
4-29
P2CONL Port 2 Control Register (Low Byte) E7H Set 1, Bank 0
Bit Identifier .7 .6 .5 .4 .3 .2 .1 .0
nRESET 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
Addressing Mode Register addressing mode only
.7–.6 P2.3/ADC3
0 0 Input mode
0 1 Input mode, pull-up
1 0 Alternative function (ADC mode)
1 1 Output mode, push-pull
.5–.4 P2.2/ADC2
0 0 Input mode
0 1 Input mode, pull-up
1 0 Alternative function (ADC mode)
1 1 Output mode, push-pull
.3–.2 P2.1/ADC1
0 0 Input mode
0 1 Input mode, pull-up
1 0 Alternative function (ADC mode)
1 1 Output mode, push-pull
.1–.0 P2.0/ADC0
0 0 Input mode
0 1 Input mode, pull-up
1 0 Alternative function (ADC mode)
1 1 Output mode, push-pull