Skip to content
Snippets Groups Projects

Draft: Interrupt callbacks

Open Andreas Persson requested to merge irq-callbacks into main

Proposed API change

Instead of blocking on xdaInterrupt::wait() and managing the interrupt status flag with xdaInterrupt::isDone() and xdaInterrupt::clearDone(), applications can register one or more callback functions which are executed when an interrupt occurs.

A thread is added to xdaInterrupt which is responsible for monitoring the interrupt and calling any registered callback functions.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading