HWA
Bare metal programming with style
|
A class _acb
object is an analog comparator.
It is used in:
acmp0
Class _acb
objects can trigger the following IRQs:
HW_IRQ(acmp0)
: comparator output event
configure
:
Note When the analog comparator shares the analog multiplexer output with the ADC, the ADC must be turned off for the analog comparator to be able to use the analog multiplexer output.
Hardware registers:
csr
: control/status registerLogical registers:
acd
: analog comparator disable (power management)acbg
: analog comparator bandgap selectaco
: analog comparator outputif
: analog comparator interrupt flagie
: analog comparator interrupt enableacic
: analog comparator input capture enableacis
: analog comparator interrupt mode select