CONTROL REGISTERS

S3C84E5/C84E9/P84E9

 

 

P2CONH — Port 2 Control Register (High Byte)

EAH Set 1, Bank 0

Bit Identifier

Reset Value

Read/Write Addressing Mode

.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

Register addressing mode only

P2.7/INT7

 

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

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

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

 

 

 

 

 

4-18

Page 87
Image 87
Samsung S3C84E5 P2CONH Port 2 Control Register High Byte EAH Set 1, Bank, P2.7/INT7, P2.6/ INT6, P2.5/ INT5, P2.4/INT4