How to disbale All interrupts except systick timer interrupt ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-12 3:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-12 4:23 AM
At the peripheral level, or within the NVIC
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-12 4:38 AM
i am using __disable_irq(); and __enable_irq() now but it disable systick timer interrupt also,
What do u mean by peripheral ,nvic ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-12 4:43 AM
Each peripheral has bit setting enable interrupts within, and the NVIC has an array of bits indicating which are currently enabled.
Perhaps architect your code so it is not impacted by the behaviour of other interrupts.
For example doing the work in an interrupt/callback that precludes lesser priority sources from pre-empting
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-12 5:27 AM
Read PM0223, Nested vectored interrupt controller chapter.
JW
