- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I have an ongoing interrupt from a button press and I change the priority mid call does it change the priority of the ongoing interrupt or the next time the interrupt is triggered.
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0321a/BIHJICIE.html says no (the PSoC4BLE is a Cortex-M0).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Most things will change on the next iteration, but there are exceptions 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0321a/BIHJICIE.html says no (the PSoC4BLE is a Cortex-M0).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
According to the document hli linked, the Cortex-M0 doesn't support dynamic interrupt priority changing.
Since it seems to be working for you, use at your own peril >:)
But, as a note, it is probably working because you are changing the priority inside the interrupt, and thus it automatically disables the interrupt while handling the interrupt, allowing you to change the interrupt level within the interrupt.