Function esp_idf_sys::xRingbufferCreateNoSplit
source ยท pub unsafe extern "C" fn xRingbufferCreateNoSplit(
xItemSize: usize,
xItemNum: usize,
) -> RingbufHandle_t
Expand description
@brief Create a ring buffer of type RINGBUF_TYPE_NOSPLIT for a fixed item_size
This API is similar to xRingbufferCreate(), but it will internally allocate additional space for the headers.
@param[in] xItemSize Size of each item to be put into the ring buffer @param[in] xItemNum Maximum number of items the buffer needs to hold simultaneously
@return A RingbufHandle_t handle to the created ring buffer, or NULL in case of error.