Skip to content

Interrupt Queueing #1397

Apr 24, 2023 · 7 comments · 22 replies
Discussion options

You must be logged in to vote

Another idea, have you tried explicitly clearing the GPIO IRQ at the end of your ISR, right before returning? That would throw out anything that happened during your ISR cleanly w/o you keeping track of anything.

There should be an NVIC function and maybe an Pico-SDK wrapper call you could use. One note, though, is that there is only one IRQ for all GPIO pins, so if you have other GPIO-based IRQs you'll lose those, too.

Replies: 7 comments 22 replies

Comment options

You must be logged in to vote
5 replies
@NuclearPhoenixx
Comment options

@maxgerhardt
Comment options

@maxgerhardt
Comment options

@NuclearPhoenixx
Comment options

@maxgerhardt
Comment options

Comment options

You must be logged in to vote
1 reply
@NuclearPhoenixx
Comment options

Comment options

You must be logged in to vote
1 reply
@NuclearPhoenixx
Comment options

Comment options

You must be logged in to vote
7 replies
@NuclearPhoenixx
Comment options

@earlephilhower
Comment options

@NuclearPhoenixx
Comment options

@earlephilhower
Comment options

Answer selected by NuclearPhoenixx
@NuclearPhoenixx
Comment options

@NuclearPhoenixx
Comment options

@earlephilhower
Comment options

Comment options

You must be logged in to vote
1 reply
@NuclearPhoenixx
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@MIKHANYA
Comment options

@NuclearPhoenixx
Comment options

@MIKHANYA
Comment options

@maxgerhardt
Comment options

@MIKHANYA
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants