1
0
mirror of https://github.com/arduino-libraries/ArduinoLowPower.git synced 2025-04-19 11:42:14 +03:00
Simon Knopp fa71703f58 Add support for ADC wakeup interrupt on SAMD21
This can be used to configure the ADC window interrupt on the SAMD21. It
uses OSCULP32K via GCLK6 to clock the ADC while in sleep mode (the same
as used for the EIC).

Note that attachAdcInterrupt()/detachAdcInterrupt() should be called
immediately before/after LowPower.sleep() otherwise analogRead() will
not work as expected.

There is also an example (AdcWakeup.ino) which is much like the
ExternalWakeup example but uses the ADC interrupt instead.
2020-03-02 10:02:11 +13:00
2017-04-20 14:38:15 +02:00
2019-03-14 00:58:07 +01:00
2016-10-28 18:27:38 +02:00
Description
Функции энергосбережения для плат SAMD
LGPL-2.1 214 KiB
Languages
C++ 100%