sdio_slave_recv_register_buf() function
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.
Arguments
start
The start address of the buffer.
Return value
The buffer handle if success, otherwise NULL.
Notes
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.
sdio_slave_recv_register_buf() calls 7 functions:
![]()
sdio_slave_recv_register_buf()
sdio_slave_recv_register_buf() reads 9 variables:
![]()
sdio_slave_recv_register_buf()