Comparator Operation; Conversion Characteristics - Samsung S3F80JB User Manual

8-bit cmos microcontrollers
Table of Contents

Advertisement

S3F80JB

COMPARATOR OPERATION

The comparator compares input analog voltage at CIN0–CIN3 with an external or internal reference voltage
(V
) that is selected by the CMOD register. The result is written to the comparison result register CMPREG at
REF
address EAH, Set1, Bank1. The comparison result at internal reference is calculated as follows:
Analog input voltage ≥ V
If "1"
Analog input voltage ≤ V
If "0"
To obtain a comparison result, the data must be read out from the CMPREG register after V
changing the CMOD value after a conversion time has elapsed.
Analog Input Voltage (CIN0-3)
Reference Voltage (V
Comparator Clock
(fosc/16, fosc/128)
Comparision Result
+ 150 mV
REF
– 150 mV
REF
)
REF
Comparision Time
(CMPCLK x8)
Comparision
Start
(CMPREG)
Figure 14-2. Conversion Characteristics
Comparision
End
Unknown
1
is updated by
REF
Unknown
1
COMPARATOR
0
14-3

Advertisement

Table of Contents
loading

Table of Contents