Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed attachInterrupt() for use during sleep #90

Merged
merged 1 commit into from
Feb 23, 2016

Conversation

rocketscream
Copy link

The current implementation of attachInterrupt() will not work on Arduino Zero during sleep (standby mode). By default, all the pins wake up capability during sleep is disabled (Section 20.8.9 Wake-Up Enable in SAMD21 datasheet). Code is tested on a Arduino Zero for pins 0 - 24 (except pin 4). Without these changes, the processor will not wake up if it depends solely on the pin state change as the only source of waking up.

@drewfish
Copy link

nice

@sandeepmistry sandeepmistry merged commit d58b22d into arduino:master Feb 23, 2016
@sandeepmistry
Copy link
Contributor

@rocketscream thanks!

@cmaglie cmaglie added this to the Release 1.6.5 milestone Mar 10, 2016
@eriktheV-king
Copy link

thanks, I'll try it very soon !

@zstergios
Copy link

zstergios commented Mar 12, 2018

Does it work with SMD21 MO-MINI?

@maxholgasson
Copy link

maxholgasson commented Jul 21, 2018

Hello, does it -external interupt during sleep- work with your Mini Ultra Pro V3 (With Radio)?

@arduino arduino locked as resolved and limited conversation to collaborators Jul 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants