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

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -