Forum Discussion

Chandrashekhar_K's avatar
Chandrashekhar_K
Icon for New Contributor rankNew Contributor
2 years ago

How to implement mutual exclusion for critical sections in code?

I have a code, where in the board receives data at a rate of 921600 via uart. This is written into a circular ring buffer in the rx interrupt. The same data is read from the buffer in main in a cont...