Cmpsel – Samsung S3F80JB User Manual
Page 76

S3F80JB
CONTROL REGISTERS
4-9
CMPSEL
— Comparator Input Selection Register
EBH
Set1
Bank1
Bit
Identifier
.7 .6 .5 .4 .3 .2 .1 .0
Reset Value
– – – – 0 0 0 0
Read/Write
– – – –
R/W
R/W
R/W
R/W
Addressing Mode
Register addressing mode only
.7– .4
Not used for S3F80JB.
.3
P2.7 Function Selection Bit
0
Normal I/O selection
1
Alternative 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.