beautypg.com

15 analog comparator, 1 functional description, 2 features – Rainbow Electronics NUC100 User Manual

Page 47: Analog comparator, Functional description, Features, Nuc100 series data sheet

background image

NUC100 Series DATA SHEET

Publication Release Date: May 31, 2010

- 47 -

Revision V1.02

5.15 Analog Comparator

5.15.1 Functional Description

NUC100 series contains two comparators. The comparators can be used in a number of different
configurations. The comparator output is a logical one when positive input greater than negative input,
otherwise the output is a zero. Each comparator can be configured to cause an interrupt when the
comparator output value changes.

Note that the analog input port pins must be configured as input type before Analog Comparator
function is enabled.

5.15.2 Features

z

Analog input voltage range: 0~5.0V

z

Software enabled with hysteresis function

z

Two analog comparators with optional internal reference voltage input at negative end

z

One comparator interrupt requested by either comparator