Hello, in the CMSIS core core_cm4.h , i dont find any apis to enable or disable the system exceptions like busfault, memmang, userfault ,etc. There is enable IRQ function , but which function should i use to enable the system exceptions ? Thank you
Hey dude.
You can't disabele them exceptions. They always dbenalbelded. No func to enablded thwm exised.
Best way to stop things like Hard Faults is to fix your code so it doesn't break.
These things are controlled in the SCB more than the NVIC. The ARM devices are well documented.