Anonymous
Not applicable
Nov 18, 2014
06:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 18, 2014
06:56 AM
Hi everybody!
I have a question about the uart reception buffer.
I want to know how to free the uart buffer?
Currently to do that I only read all values on the buffer but actually I'm not sure if the buffer is clean.
Thanks for the help
2 Replies
Nov 21, 2014
09:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 21, 2014
09:34 AM
Hi,
Are you referring to ring buffer? If so, you can simple call ring_buffer_init(...) or simple assign head to tail.
-Seyhan
Thanks,
Seyhan
Nov 23, 2014
11:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 23, 2014
11:42 PM
Hi,
Thanks Seyhan for the response. Yes I was talking about the ring buffer.!
But the point I would know is about freeing the buffer just be reading it's values
Thanks,