Function esp_idf_hal::sys::xRingbufferAddToQueueSetRead
source ยท pub unsafe extern "C" fn xRingbufferAddToQueueSetRead(
xRingbuffer: *mut c_void,
xQueueSet: *mut QueueDefinition,
) -> i32
Expand description
@brief Add the ring buffer to a queue set. Notified when data has been written to the ring buffer
This function adds the ring buffer to a queue set, thus allowing a task to block on multiple queues/ring buffers. The queue set is notified when the new data becomes available to read on the ring buffer.
@param[in] xRingbuffer Ring buffer to add to the queue set @param[in] xQueueSet Queue set to add the ring buffer to
@return - pdTRUE on success, pdFALSE otherwise