Draft: Interrupt callbacks
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
Activity
Filter activity
assigned to @andreaspersson
added 40 commits
-
63ec8ce1...48445b11 - 34 commits from branch
main
- 36eb1d08 - xdaInterrupt: Add interrupt callbacks (API change)
- ba84386f - xdaInterrupt: Measure interrupt callback duration
- 7bd7a416 - ICBLM: Convert to new interrupt API
- c6b13c51 - IMG: Convert to new interrupt API
- 690b1eff - xdaInterrupt: update asyn parameters when IRQs are enabled/disabled with setEnable()
- 7b0fa463 - xdaInterrupt: Add function docstrings
Toggle commit list-
63ec8ce1...48445b11 - 34 commits from branch
Please register or sign in to reply