-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As pointed out in github issue #29, clearing an edge triggered interrupt while the interrupt source is still high would re-trigger the interrupt even though no new edge has occurred. This cures this by adding an additional registering of the irq_unmasked signals and only set the picsr spr register when an edge occurs. Also, the priority between setting and clearing the bits in picsr have been reversed.
- Loading branch information
1 parent
28674ca
commit 6caa7db
Showing
1 changed file
with
25 additions
and
17 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