CONTROL REGISTERS S3C8245/P8245/C8249/P8249
4-28
P2CONH — Port 2 Control Register (High Byte)E6HSet 1, Bank 0
Bit Identifier .7 .6 .5 .4 .3 .2 .1 .0
nRESET Value 00000000
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.7/VLDREF/ADC7
0 0 Input mode
0 1 Input mode, pull-up
1 0 Alternative function (ADC & VLD mode)
1 1 Output mode, push-pull
.5-.4 P2.6/ADC6
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.5/ ADC5
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.4/ ADC4
0 0 Input mode
0 1 Input mode, pull-up
1 0 Alternative function (ADC mode)
1 1 Output mode, push-pull