FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [August 2007 Threads] full queue in ISRPosted by Jack Peacock on August 30, 2007 Inside an interrupt ISR for a UART, I receive data and place it in a queue with the xQueueSendFromISR call. Is there a way, inside the ISR, to determine if the queue is full? I want to log if the ISR has to drop characters due to lack of queue space. Jack Peacock
RE: full queue in ISRPosted by Dave on August 31, 2007 No, this is a bit amiss. You could easily add a parameter to the function to return this information. Or add a version of uxQueueMessagesWaiting that can be called from an interrupt (basically don't use any portENTER/EXIT_CRITICAL_SECTION calls).
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|