Samsung S3C8245 Microscope & Magnifier User Manual


 
CONTROL REGISTERS S3C8245/P8245/C8249/P8249
4-34
P5CONH Port 5 Control Register (High Byte) EEH Set 1, Bank 1
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 P5.7/SEG31 Mode Selection Bits
0 0 Input mode
0 1 Input mode, pull-up
1 0 Open-drain output mode
1 1 Push-pull output mode
.5–.4 P5.6/SEG30 Mode Selection Bits
0 0 Input mode
0 1 Input mode, pull-up
1 0 Open-drain output mode
1 1 Push-pull output mode
.3–.2 P5.5/ SEG29 Mode Selection Bits
0 0 Input mode
0 1 Input mode, pull-up
1 0 Open-drain output mode
1 1 Push-pull output mode
.1–.0 P5.4/ SEG28 Mode Selection Bits
0 0 Input mode
0 1 Input mode, pull-up
1 0 Open-drain output mode
1 1 Push-pull output mode