-
+
1
0
VADIV0
VADIV1
VADIV
VDD
Voltage
Divider
ACMPn_HSYTERESIS1.VADIV
ACMPn_HYSTERESIS0.VADIV
time
I/O
voltage
ACMPOUT
Figure 21.5. Capacitive Sensing Setup
21.3.6 Interrupts and PRS Output
The analog comparator includes an edge triggered interrupt flag (EDGE in ACMPn_IF). If either IRISE and/or IFALL in ACMPn_CTRL is
set, the EDGE interrupt flag will be set on rising and/or falling edge of the comparator output respectively. An interrupt request will be
sent if the EDGE interrupt flag in ACMPn_IF is set and enabled through the EDGE bit in ACMPn_IEN. The edge interrupt can also be
used to wake up the device from EM3 Stop-EM1 Sleep.
The analog comparator includes the interrupt flag WARMUP in ACMPn_IF which is set when a warm-up sequence has finished. An
interrupt request will be sent if the WARMUP interrupt flag in ACMPn_IF is set and enabled through the WARMUP bit in ACMPn_IEN.
The analog comparator can also generate an interrupt if a bus conflict occurs. An interrupt request will be sent if the APORTCONFLICT
interrupt flag in ACMPn_IF is set and enabled through the APORTCONFLICT bit in ACMPn_IEN.
The synchronized comparator output is also available as a PRS output signal.
EFM32JG1 Reference Manual
ACMP - Analog Comparator
silabs.com
| Smart. Connected. Energy-friendly.
Preliminary Rev. 0.6 | 694