beautypg.com

P1conh – Samsung S3F80JB User Manual

Page 91

background image

CONTROL REGISTERS

S3F80JB

4-24

P1CONH

— Port 1 Control Register (High Byte)

EAH Set1 Bank0

Bit

Identifier

.7 .6 .5 .4 .3 .2 .1 .0

Reset Value

1 1 1 1 1 1 1 1

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 and .6

P1.7 Mode Selection Bits

0 0

C-MOS

input

mode

0 1

Open-drain

output

mode

1 0

Push-pull

output

mode

1

1

C-MOS input with pull up mode

.5 and .4

P1.6 Mode Selection Bits

0 0

C-MOS

input

mode

0 1

Open-drain

output

mode

1 0

Push-pull

output

mode

1

1

C-MOS input with pull up mode

.3 and .2

P1.5 Mode Selection Bits

0 0

C-MOS

input

mode

0 1

Open-drain

output

mode

1 0

Push-pull

output

mode

1

1

C-MOS input with pull up mode

.1 and .0

P1.4 Mode Selection Bits

0 0

C-MOS

input

mode

0 1

Open-drain

output

mode

1 0

Push-pull

output

mode

1

1

C-MOS input with pull up mode