Function esp_idf_sys::sdio_slave_recv_register_buf
source ยท pub unsafe extern "C" fn sdio_slave_recv_register_buf(
start: *mut u8,
) -> sdio_slave_buf_handle_t
Expand description
Register buffer used for receiving. All buffers should be registered before used, and then can be used (again) in the driver by the handle returned.
@param start The start address of the buffer.
@note The driver will use and only use the amount of space specified in the recv_buffer_size
member set in the sdio_slave_config_t
.
All buffers should be larger than that. The buffer is used by the DMA, so it should be DMA capable and 32-bit aligned.
@return The buffer handle if success, otherwise NULL.