Dear Nordic experts,
While investigating some of my bugs, I had to look into the GPIOTE driver code, and I realized that it has some allocator for mapping GPIOTE channels to pins.
Because the GPIOTE driver connects the input buffer, I call it dynamically in order to minimize power consumption.
So this question came to me: isn't there any risk to mess out the GPIOTE allocator data if two OS tasks make a call to the GPIOTE driver and one is preempting the other.
I anticipated this event by using some FreeRTOS mutex, but well I would like to know if this can really happen in order not to spend OS resource just for the fun of it.
Actually I am just speculating that this may happen, I did not meet it in real life.
I am currently using SDK 15,0,0.