STM32L4 Freertos - read specific item from queue without removing item from the queue.(peek)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-16 12:12 PM
Hi, I have STM32L496 and use Freertos 10.2.
Everything is fine, but I would like read data from queue without removing from the queue. I discovered function xQueuePeek() but I dont know how to use it if I can read specific item from Queue. For example I can check first and second item. Peek() function return only first item.
please help thank you
Solved! Go to Solution.
- Labels:
-
FreeRTOS
-
STM32L4 series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-23 7:10 AM
Hello @lorant124​ ,
You can find in this reference all the details about the xQueuePeek() function with an example.
I hope this is helpful.
BeST Regards,
Walid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-23 7:10 AM
Hello @lorant124​ ,
You can find in this reference all the details about the xQueuePeek() function with an example.
I hope this is helpful.
BeST Regards,
Walid
