38 CMP - Comparator Module
Comparators are used to interface analog circuits to a digital circuit by comparing two analog voltages and providing a digital indication of their relative magnitudes. Comparators are very useful mixed signal building blocks because they provide analog functionality independent of program execution.
The analog comparator module includes the following features:
- Programmable input selection
- Comparator status
- Programmable output polarity
- Rising/falling output edge interrupts
- Selectable hysteresis
- Selectable Speed/Power modes
- Wake-up from Sleep
- ADC auto-trigger