Other Parts Discussed in Thread: RM46L852
Hello!
I have FreeRTOS and have some functions what can be called inside interrupt handling. FreeRTOS have different functions for ISR and normal mode. How I can understand inside my function what I'm inside interrupt. For STM32 I use next function
inline static bool isInterrupt(void) {
return (SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk) != 0;
}