CONTROL REGISTERSS3C9228/P9228

P2CON – Port 2 Control Register

F3H

Bit Identifier

RESET Value

Read/Write

.7-.6

.7

.6

.5

.4

.3

.2

.1

.0

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

P2.3 Configuration Bits

 

 

 

 

 

 

 

 

 

 

 

 

0 0

Schmitt trigger input

 

 

 

 

 

01 Push-pull output

10 N-channel open-drain output

1

1 Not available

.5-.4

P2.2/SI Configuration Bits

 

0

0

Schmitt trigger input (SI)

 

 

 

 

 

0

1

Push-pull output

 

 

 

 

 

1

0

N-channel open-drain output

 

 

 

 

 

1

1

Not available

 

 

 

 

.3-.2

P2.1/SO Configuration Bits

 

0

0

Schmitt trigger input

 

 

 

 

 

0

1

Push-pull output

 

 

 

 

 

1

0

N-channel open-drain output

 

 

 

 

 

1

1

Alternative function (SO out)

 

 

 

 

.1-.0

P2.0/SCK Configuration Bits

 

0

0

Schmitt trigger input (SCK in)

 

 

 

 

 

0

1

Push-pull output

 

 

 

 

 

1

0

N-channel open-drain output

 

 

 

 

 

1

1

Alternative function (SCK out)

 

 

 

 

4-22

Page 74
Image 74
Samsung S3C9228/P9228 P2CON Port 2 Control Register, F3H, P2.2/SI Configuration Bits, P2.1/SO Configuration Bits