-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(interrupt): Improve Interrupt implementation and API (#348)
* feat(interrupt): Improve Interrupt implementation and API * Add `enable` / `disable` APIs for specific interrutps * Add `remove` APIs for specific interrupts * Add `remove_all` * Add `disable_all` * Refactor how interrupts are configured somewhat to ensure they are not enabled until after the handler has been registered * Update interrupt PinConfig to have `auto_reenable` flag (default=true) to mirror previous behavior, but to allow the interrupt to not re-trigger until explicitly re-enabled by the caller. * Add more info about interrupt configuration to class doc * minor doc update * format
- Loading branch information
Showing
1 changed file
with
164 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters