1
0
mirror of https://github.com/arduino-libraries/ArduinoLowPower.git synced 2025-04-19 11:42:14 +03:00

68 Commits

Author SHA1 Message Date
Martino Facchin
5456a1f698 [Examples] Avoid spurious wakeup 2017-07-13 16:56:25 +02:00
Martino Facchin
71ceedc1d7 publish 1.1.0 1.1.0 2017-04-20 14:43:33 +02:00
chiararuggeri
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
chiararuggeri
fcbf16f6a3 Proposed lowercase name for companion callback in sketch 2017-04-20 14:38:15 +02:00
Martino Facchin
10471dd7f3 Sleep also triggers USB subsystem standly
Requires SAMD core >= 1.6.14
1.0.0
2017-04-04 11:01:57 +02:00
Martino Facchin
e0fcfbd199 Add missing attachInterruptWakeup keyword 2017-04-04 11:01:37 +02:00
Martino Facchin
9204b58012 Target only SAMD architecture 2017-03-13 12:58:48 +01:00
Martino Facchin
0f7f5904ad [SAMD] use RTC.begin(false) for new RTC library behaviour 2017-01-17 16:37:34 +01:00
Martino Facchin
562190f552 Add APIs for boards with companion chip (eg. Tian) 2016-12-06 18:43:05 +01:00
Martino Facchin
5175ae9fd2 [ARC32] add missing includes 2016-12-06 18:42:55 +01:00
Martino Facchin
3e4915e8c9 Import latest code from @bigdinotech 2016-12-06 17:10:13 +01:00
Martino Facchin
7304fe0419 [ARC32] RTC wakeup from idle() works
code from https://github.com/bigdinotech/Arduino101Power/
2016-11-14 17:24:10 +01:00
Martino Facchin
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
Martino Facchin
63b24bed79 Move SAMD implementation to proper file 2016-11-11 16:18:51 +01:00
Martino Facchin
603428ca62 Add examples 2016-11-03 16:54:06 +01:00
Martino Facchin
60dedcc4b0 [SAMD] fix RTC wakeup and FALLING/RISING on pin 2016-11-03 16:52:54 +01:00
Martino Facchin
e159ecf46f [WIP] initial API design
samd basic functions ported
2016-10-28 18:30:13 +02:00
Martino Facchin
e549d1e7ae Initial commit 2016-10-28 18:27:38 +02:00