Not applicable
Feb 19, 2014
03:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 19, 2014
03:02 AM
Hi,
how can I disable or enable all Interrupts at ones.
In the core_cmFunc.h are tow functions which proiveds exactly this task.
__disable_irq()
__enable_irq()
But i can use them because there are some defines missing __CC_ARM and __GNUC__.
Why are this defines missing? Or can someone give me an example how to solve this problem?
how can I disable or enable all Interrupts at ones.
In the core_cmFunc.h are tow functions which proiveds exactly this task.
__disable_irq()
__enable_irq()
But i can use them because there are some defines missing __CC_ARM and __GNUC__.
Why are this defines missing? Or can someone give me an example how to solve this problem?
- Tags:
- IFX
1 Reply
Not applicable
Feb 19, 2014
08:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 19, 2014
08:34 PM
Hi,
The __disable_irq() function sets the PRIMASK bit and it works for me with the XMC1300 boot kit and DAVE platform. Alternatively, you can use the __set_PRIMASK(uint32_t priMask) function to have the same effect.
Where did you encounter the missing defines?
The __disable_irq() function sets the PRIMASK bit and it works for me with the XMC1300 boot kit and DAVE platform. Alternatively, you can use the __set_PRIMASK(uint32_t priMask) function to have the same effect.
Where did you encounter the missing defines?