c - STM32 get the privilege level -
is there way privilege level of execution , store in variable?
i need avoid hard fault rtl-os generates, whenever os_sem_wait called irq. potentially checking if interrupt has occurred should trick.
in addition important information privilege level available in privileged unprivileged levels, or otherwise may trigger hard fault or exception again.
the stdperiph_lib version 3.5.0 stm32f10x rtl-os.
thanks!
Comments
Post a Comment