firmware
IEM Firmware Documentation
|
Resets a message buffer to its initial empty state, discarding any message it contained.
A message buffer can only be reset if there are no tasks blocked on it.
Use xMessageBufferReset() to reset a message buffer from a task. Use xMessageBufferResetFromISR() to reset a message buffer from an interrupt service routine (ISR).
configUSE_STREAM_BUFFERS must be set to 1 in for FreeRTOSConfig.h for xMessageBufferReset() to be available.
xMessageBuffer | The handle of the message buffer being reset. |