Samsung S3F80JB manual Comparator Mode Register Cmod

Models: S3F80JB

1 346
Download 346 pages 34.13 Kb
Page 278
Image 278

COMPARATORS3F80JB

Comparator Mode Register (CMOD)

E9H, Set1, Bank 1, R/W

MSB

.7

 

.6

 

 

.5

 

.4

 

 

 

.3

.2

.1

.0

 

LSB

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Not used for S3F80JB. Reference Voltage Selection Bits

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Selected Vref=Vdd x (N + 0.5)/16, n=0 to 15

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

External /Internal Reference Selection Bit

 

 

 

 

 

 

 

 

0: Internal reference,

CIN0-3:analog input

 

 

 

 

 

 

 

 

1: External reference,CIN0-2: analog input, CIN3:reference input

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Conversion Timer Control Bit

 

 

 

 

 

 

 

 

 

0: 8x27 /fosc,256us at 8MHz

 

 

 

 

 

 

 

 

 

1: 8x24 /fosc,32us at 8MHz

 

 

 

 

 

 

Comparator Enale/Disable Bit

 

 

 

 

 

 

 

0:Comparator operation disable

 

 

 

 

 

 

1:Comparator operation enable

 

 

 

 

 

 

 

Figure 14-3. Comparator Mode Register (CMOD)

Comparator Input Selection Register (CMPSEL)

EBH, Set1, Bank 1, R/W

MSB

.7

.6

.5

.4

.3

.2

.1

.0

LSB

Not used for S3F80JB.

P2.4 Function Selection Bit 0:Normal I/O selection 1:Alternative function enable: CIN0

P2.5 Function Selection Bit 0:Normal I/O selection 1:Alternative function enable: CIN1

P2.6 Function Selection Bit 0:Normal I/O selection 1:Alternative function enable: CIN2

P2.7 Function Selection Bit 0:Normal I/O selection 1:Alternative function enable: CIN3

Figure 14-4. Comparator Input Selection Register (CMPSEL)

14-4

Page 278
Image 278
Samsung S3F80JB manual Comparator Mode Register Cmod