Function esp_idf_svc::sys::rmt_get_ringbuf_handle
source ยท pub unsafe extern "C" fn rmt_get_ringbuf_handle(
channel: u32,
buf_handle: *mut *mut c_void,
) -> i32
Expand description
@brief Get ringbuffer from RMT.
Users can get the RMT RX ringbuffer handle, and process the RX data.
@param channel RMT channel @param buf_handle Pointer to buffer handle to accept RX ringbuffer handle.
@return - ESP_ERR_INVALID_ARG Parameter error - ESP_OK Success