1
0
mirror of https://github.com/arduino-libraries/ArduinoLowPower.git synced 2025-06-30 08:21:48 +03:00
Commit Graph

8 Commits

Author SHA1 Message Date
b615a89714 Remove support for ArduinoCore-Primo. (#55)
The board is retired and the corresponding core (https://github.com/arduino/ArduinoCore-primo) has been archived. Considering that no one is going to maintain the low power code for nRF52/Primo its better to get rid of it alltogether (and no longer advertise compatibility to 'nrf52' which - imho rightfully - seems to confuse a lot of people.
2023-01-02 09:22:47 +01:00
fbee85bfbc Correct typos in comments and documentation 2021-04-12 02:42:35 -07:00
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
5456a1f698 [Examples] Avoid spurious wakeup 2017-07-13 16:56:25 +02:00
21d2f7527f Added nRF52 compatibility
Waking from deepSleep() is comparable to an hard reset; the sketch won't restart from the sleep invocation but the wakeuup source can be retrieved with wakeupReason()
2017-04-20 14:38:15 +02:00
fcbf16f6a3 Proposed lowercase name for companion callback in sketch 2017-04-20 14:38:15 +02:00
562190f552 Add APIs for boards with companion chip (eg. Tian) 2016-12-06 18:43:05 +01:00
603428ca62 Add examples 2016-11-03 16:54:06 +01:00