1
0
mirror of https://github.com/arduino-libraries/ArduinoLowPower.git synced 2025-07-01 19:21:38 +03:00
Commit Graph

32 Commits

Author SHA1 Message Date
cd47d44024 Configure Dependabot to check for outdated actions used in workflows
Dependabot will periodically check the versions of all actions used in the repository's workflows. If any are found to
be outdated, it will submit a pull request to update them.
NOTE: Dependabot's PRs will sometimes try to pin to the patch version of the action (e.g., updating `uses: foo/bar@v1`
to `uses: foo/bar@v2.3.4`). When the action author has provided a major version ref, use that instead
(e.g., `uses: foo/bar@v2`). Dependabot will automatically close its PR once the workflow has been updated.
More information:
https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot
2021-04-12 02:25:08 -07:00
d70192271e Release 1.2.2 1.2.2 2020-12-21 10:39:43 +01:00
b44168f223 Make the library compatible with both API and non API cores (#35)
Fixes https://github.com/arduino/ArduinoCore-samd/issues/578
2020-12-17 10:54:44 +01:00
043dedba33 Added README.md in ArduinoLowPower (#26)
* Added README.md in ArduinoLowPower

* Update README.md

Thank you for modification.

Co-Authored-By: per1234 <accounts@perglass.com>

* Update README.md

Co-Authored-By: per1234 <accounts@perglass.com>

Co-authored-by: per1234 <accounts@perglass.com>
2020-12-17 09:32:47 +01:00
39d72b123a Use www subdomain in arduino.cc URLs (#34)
www.arduino.cc is Arduino's preferred url.
2020-12-17 09:31:38 +01:00
6fd308af4a Merge pull request #25 from Lincoln-Agritech/master
Add support for ADC wakeup interrupt on SAMD21
2020-03-10 11:03:09 +01: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
c1b24fb456 Merge pull request #24 from per1234/fix-day-sleeps
Allow sleep durations of 1 day or longer
2020-02-21 14:44:07 +01:00
fa5c24937c Allow sleep durations of 1 day or longer
Previously, sleep durations "overflowed" at one day, resulting in a maximum sleep duration of 1 millisecond less than a day.
2020-02-20 00:57:37 -08:00
892594adbc Fix SysTick timer lockup when waking from sleep (#17)
* fix SysTick timer lockup when waking from sleep
2019-05-14 09:56:55 +02:00
4caff779d9 Added dependency 1.2.1 2019-03-14 00:58:07 +01:00
b38a5bc50c Add support for boards with different name of serial USB connection (#6)
* Replace SerialUSB by SERIAL_PORT_USBVIRTUAL

Support boards where USB serial is named differently. E.g. the
Adafruit Feather M0 uses Serial1 as name for serial USB port.
2018-08-20 15:43:46 +02:00
5399b36207 Update to version 1.2.0 1.2.0 2017-07-13 17:01:41 +02:00
8cf4c737dd [SAMD] Disable USB on standby() 2017-07-13 17:01:03 +02:00
5456a1f698 [Examples] Avoid spurious wakeup 2017-07-13 16:56:25 +02:00
71ceedc1d7 publish 1.1.0 1.1.0 2017-04-20 14:43:33 +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
10471dd7f3 Sleep also triggers USB subsystem standly
Requires SAMD core >= 1.6.14
1.0.0
2017-04-04 11:01:57 +02:00
e0fcfbd199 Add missing attachInterruptWakeup keyword 2017-04-04 11:01:37 +02:00
9204b58012 Target only SAMD architecture 2017-03-13 12:58:48 +01:00
0f7f5904ad [SAMD] use RTC.begin(false) for new RTC library behaviour 2017-01-17 16:37:34 +01:00
562190f552 Add APIs for boards with companion chip (eg. Tian) 2016-12-06 18:43:05 +01:00
5175ae9fd2 [ARC32] add missing includes 2016-12-06 18:42:55 +01:00
3e4915e8c9 Import latest code from @bigdinotech 2016-12-06 17:10:13 +01:00
7304fe0419 [ARC32] RTC wakeup from idle() works
code from https://github.com/bigdinotech/Arduino101Power/
2016-11-14 17:24:10 +01:00
e99fcefe8b Initial ARC32 implementation
The includes and relevant (non wrapper) functions are borrowed from Zephyr 1.5.0

The implementation is still broken:
- an RTC driver is still missing, so no timed wakeup possible
- only the AON pins configured as LEVEL can wakeup the processor
  on Arduino101, the only AON broken out is RESET button
  Changing the main loop in CODK-A allows operating the button without triggering a reboot. However, the board doesn't wakeup from deep sleep (am I missing something maybe?)
2016-11-11 16:20:30 +01:00
63b24bed79 Move SAMD implementation to proper file 2016-11-11 16:18:51 +01:00
603428ca62 Add examples 2016-11-03 16:54:06 +01:00
60dedcc4b0 [SAMD] fix RTC wakeup and FALLING/RISING on pin 2016-11-03 16:52:54 +01:00
e159ecf46f [WIP] initial API design
samd basic functions ported
2016-10-28 18:30:13 +02:00
e549d1e7ae Initial commit 2016-10-28 18:27:38 +02:00