Cant disable all interrupt while using CMSIS RTOS V2
Hi everyone I am using stm32l496 and I am trying to disable all the interrupts while running sensative routines.
to disable all the interrupt I am using __disable_irq and to enable them __enable_irq.
But nothing seems to happen, even after I use disable in one of the task the interrupts still functions.
Now I checked what __disable_irq is actually doiung and in the comments it is written that it can only be excecuted in Privileged mode, now I have no idea what this mode is even or how can I switch to it.
