Function esp_idf_sys::rmt_get_ringbuf_handle
source ยท pub unsafe extern "C" fn rmt_get_ringbuf_handle(
channel: rmt_channel_t,
buf_handle: *mut RingbufHandle_t,
) -> esp_err_t
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