[][src]Function esp_idf_sys::xRingbufferCreate

pub unsafe extern "C" fn xRingbufferCreate(
    xBufferSize: usize,
    xBufferType: ringbuf_type_t
) -> RingbufHandle_t

@brief Create a ring buffer

@param[in] xBufferSize Size of the buffer in bytes. Note that items require space for overhead in no-split/allow-split buffers @param[in] xBufferType Type of ring buffer, see documentation.

@note xBufferSize of no-split/allow-split buffers will be rounded up to the nearest 32-bit aligned size.

@return A handle to the created ring buffer, or NULL in case of error.