essl_write_reg() function
Write general purpose R/W registers (8-bit) of ESSL slave.
Arguments
handle
Handle of an ESSL device.
addr
Address of register to write. For SDIO, valid address: 0-59. For SPI, see ``essl_spi.h``
value
Value to write to the register.
value_o
Output of the returned written value.
wait_ms
Millisecond to wait before timeout, will not wait at all if set to 0-9.
Return value
- ESP_OK Success - One of the error codes from SDMMC/SPI host controller
Notes
sdio 28-31 are reserved, the lower API helps to skip.