Hi,
Context:
I am looking at feeding the ASYNC UART data into a ring buffer. Then, processing that ring buffer at regular intervals. I'm concerned that the ASYNC UART callback function could get triggered while the ring buffer is being processed. I could forsee some problems with that. I suppose it wouldn't be totally detrimental, provided the ring buffer does not overflow. However, I could see the ring buffer filling up concurrently when a processing operation. To prevent this problem, I would like to temporarily suspend the ASYNC UART callback.
Goal:
To prevent this problem, I would like to temporarily suspend the ASYNC UART callback. Is that possible, without otherwise causing impact on the data transfer?