ESP-IDF + 0/1 examples
SourceVu will show references to sdspi_host_init_device() from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferences

Return value

- ESP_OK on success - ESP_ERR_INVALID_ARG if sdspi_host_init_device has invalid arguments - ESP_ERR_NO_MEM if memory can not be allocated - other errors from the underlying spi_master and gpio drivers

Notes

This function is not thread safe Initialize the SPI bus by `spi_bus_initialize()` before calling this function. The SDIO over sdspi needs an extra interrupt line. Call ``gpio_install_isr_service()`` before this function.

References

from examples