English
Language : 

EFM32WG Datasheet, PDF (665/834 Pages) List of Unclassifed Manufacturers – The EFM32WG Wonder Gecko is the ideal choice for demanding 8-, 16-, and 32-bit energy sensitive applications.
Figure 26.3. Capacitive Sensing Set-up
...the world's most energy friendly microcontrollers
Bu t t on s
VDD_SCALED
POSSEL
VDD/4
26.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-EM1.
The analog comparator also includes an 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 comparator output is also available as a PRS signal.
26.3.7 Output to GPIO
The output from the comparator is available as alternate function to the GPIO pins. Set the ACMPPEN
bit in ACMPn_ROUTE to enable output to pin, and the LOCATION bits to select output location. The
GPIO-pin must also be set as output. The output to the GPIO can be inverted by setting the GPIOINV
bit in ACMPn_CTRL.
2013-05-08 - Wonder Gecko Family - d0233_Rev0.50
665
www.energymicro.com