lpcware

Searching a UART Rinig_Buffer for a specific character

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by dizgah on Mon Feb 29 01:11:46 MST 2016
Hi,
I initialed UART peripheral with Ring_Buffer, I need to searching in the  received data which are stored in the ring buffer ,When i pop an item it cleared from buffer which is not desired for me, i only need to move on the buffer and investigate characters without changing it's content,copying complete buffer is not desired too & data stream is coming in unregulated time.whats your suggestion?
WBR.

Outcomes