S3F80JBCONTROL REGISTERS

CMPSEL — Comparator Input Selection Register

EBH Set1 Bank1

Bit Identifier

Reset Value

Read/Write

Addressing Mode

.7– .4

.3

.7

.6

.5

.4

.3

.2

.1

.0

0

0

0

0

R/W

R/W

R/W

R/W

Register addressing mode only

Not used for S3F80JB.

P2.7 Function Selection Bit

0Normal I/O selection

1Alternative function enable: CIN3

.2

P2.6 Function Selection Bit

 

0

Normal I/O selection

 

1

Alternative function enable: CIN2

.1

P2.5 Function Selection Bit

 

0

Normal I/O selection

 

1

Alternative function enable: CIN1

 

 

 

.0

P2.4 Function Selection Bit

 

0

Normal I/O selection

 

 

 

 

1

Alternative function enable: CIN0

NOTE: If a bit of CMPSEL is set to “1”(Comparator input is selected), the port pin is operated as comparator input regardless of the P2CONH settings.

4-9

Page 76
Image 76
Samsung S3F80JB manual Cmpsel Comparator Input Selection Register EBH Set1 Bank1, P2.7 Function Selection Bit