Content originally posted in LPCWare by riscy00 on Sat Jul 26 20:28:18 MST 2014
What the key difference between RingBuffer_Pop(...) and RingBuffer_Insert(...)? (including the multi pop and insert)
I'm puzzled as the code looks very much the same and why?
An application example when/how to use RingBuffer_Pop and RingBuffer_Insert would be helpful.
After inserting data into ringbuffer does it actually start the UART TX operation?, if not what command to start?
Thanks
PS: very interesting using void rather than char or unsigned char on parameter, how that work?
--------------------------------------------------------------||
int RingBuffer_Pop(RINGBUFF_T *RingBuff, void *data)
--------------------------------------------------------------||