P2conh — port 2 control register (high byte), P2conh – Samsung S3C8275X User Manual
Page 98
CONTROL REGISTERS
S3C8275X/F8275X/C8278X/F8278X/C8274X/F8274X
4-28
P2CONH
— Port 2 Control Register (High Byte)
EAH
Set 1, Bank 0
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
Addressing Mode
Register addressing mode only
.7–.6
P2.7/SEG24 Configuration Bits
0 0
Input
mode
0
1
N-channel open-drain output mode
1
0
Push-pull output mode
1
1
Alternative function (SEG24)
.5-.4
P2.6/SEG25 Configuration Bits
0 0
Input
mode
0
1
N-channel open-drain output mode
1
0
Push-pull output mode
1
1
Alternative function (SEG25)
.3–.2
P2.5/SEG26 Configuration Bits
0 0
Input
mode
0
1
N-channel open-drain output mode
1
0
Push-pull output mode
1
1
Alternative function (SEG26)
.1–.0
P2.4/SEG27 Configuration Bits
0 0
Input
mode
0
1
N-channel open-drain output mode
1
0
Push-pull output mode
1
1
Alternative function (SEG27)