Samsung S3F80JB manual P2CONL Port 2 Control Register Low Byte EDH Set1 Bank0

Models: S3F80JB

1 346
Download 346 pages 34.13 Kb
Page 94
Image 94

S3F80JBCONTROL REGISTERS

P2CONL Port 2 Control Register (Low Byte)

EDH Set1 Bank0

Bit Identifier

Reset Value

Read/Write

Addressing Mode

.7 and .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.3/INT8 Mode Selection Bits

 

0

0

C-MOS input mode; interrupt on falling edges

 

0

1

C-MOS input mode; interrupt on rising edges and falling edges

 

1

0

Push-pull output mode

 

1

1

C-MOS input mode; interrupt on rising edges

.5 and .4

P2.2/INT7 Mode Selection Bits

 

0

0

C-MOS input mode; interrupt on falling edges

 

0

1

C-MOS input mode; interrupt on rising edges and falling edges

 

1

0

Push-pull output mode

 

1

1

C-MOS input mode; interrupt on rising edges

.3 and .2

P2.1/INT6 Mode Selection Bits

 

0

0

C-MOS input mode; interrupt on falling edges

 

 

 

 

 

0

1

C-MOS input mode; interrupt on rising edges and falling edges

 

 

 

 

 

1

0

Push-pull output mode

 

 

 

 

 

1

1

C-MOS input mode; interrupt on rising edges

.1 and .0

P2.0/INT5 Mode Selection Bits

 

0

0

C-MOS input mode; interrupt on falling edges

 

0

1

C-MOS input mode; interrupt on rising edges and falling edges

 

1

0

Push-pull output mode

 

1

1

C-MOS input mode; interrupt on rising edges

NOTE: Pull-up resistors can be assigned to individual port 2 pins by making the appropriate settings to the P2PUR control register, location EEH, set 1,bank0.

4-27

Page 94
Image 94
Samsung S3F80JB manual P2CONL Port 2 Control Register Low Byte EDH Set1 Bank0, P2.3/INT8 Mode Selection Bits