I/O PORTS

S3C84E5/C84E9/P84E9

 

 

MSB

Port 2 Control Register, High Byte (P2CONH) EAH, Set1, Bank0, R/W, Reset value="00"

.7

.6

.5

.4

.3

.2

.1

.0

 

 

 

 

 

 

 

 

LSB

[.7-.6] P2.7/INT7 Configuration Bits

0 0 = Input mode with pull-up; falling edge interrupt (INT7) 0 1 = Input mode; falling edge interrupt (INT7)

1 0 = Input mode; rising edge interrupt (INT7)

1 1 = Push-pull output mode

[.5-.4] P2.6/INT6 Configuration Bits

0 0 = Input mode with pull-up; falling edge interrupt (INT6) 0 1 = Input mode; falling edge interrupt (INT6)

1 0 = Input mode; rising edge interrupt (INT6)

1 1 = Push-pull output mode

[.3-.2] P2.5/INT5 Configuration Bits

0 0 = Input mode with pull-up; falling edge interrupt (INT5) 0 1 = Input mode; falling edge interrupt (INT5)

1 0 = Input mode; rising edge interrupt (INT5)

1 1 = Push-pull output mode

[.1-.0] P2.4/INT4 Configuration Bits

0 0 = Input mode with pull-up; falling edge interrupt (INT4) 0 1 = Input mode; falling edge interrupt (INT4)

1 0 = Input mode; rising edge interrupt (INT4)

1 1 = Push-pull output mode

Figure 9-5. Port 2 High-Byte Control Register (P2CONH)

9-8

Page 232
Image 232
Samsung S3C84E5 user manual P2.7/INT7 Configuration Bits, P2.6/INT6 Configuration Bits, P2.5/INT5 Configuration Bits