Hi,
I'm trying to port one of NXP libraries to ESP32 + esp-IDF but have a problem with this function. In other platforms I see it is defined in portmacro.h file and obtain the number of the currently executing interrupt and then return true or false.
So the basic question is how can I read information about this in ESP to define this function?
BR,
Marcin.
Missing xPortIsInsideInterrupt in portmacro.h
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: Missing xPortIsInsideInterrupt in portmacro.h
You can use xPortInIsrContext(), which returns true if the core calling it is in interrupt context.
Who is online
Users browsing this forum: Dennie and 85 guests