sdio_slave_hal_send_queue() is only used within ESP-IDF.
 
Symbols
loading...
Files
loading (2/5)...
SummarySyntaxArgumentsRelatedReferencesCall TreeData Use

Return value

Always ESP_OK.

Notes

The caller should keeps the buffer, until the `arg` is returned by `sdio_slave_hal_send_get_next_finished_arg`. The caller should count to ensure there is enough space in the queue. The initial queue size is sizeof(sendbuf.data)/sizeof(sdio_slave_hal_send_desc_t)-1, Will decrease by one when this function successfully returns. Released only by `sdio_slave_hal_send_get_next_finished_arg` or `sdio_slave_hal_send_flush_next_buffer`. The HAL is not thread-safe. The caller should use a spinlock to ensure the `sdio_slave_hal_send_queue` and ... are not called at the same time.

References