Function esp_idf_sys::sdio_slave_write_reg
source ยท pub unsafe extern "C" fn sdio_slave_write_reg(
pos: c_int,
reg: u8,
) -> esp_err_t
Expand description
Write the spi slave register shared with host.
@param pos register address, 0-11, 14-15, 18-19, 24-27 and 32-63, other address are reserved. @param reg the value to write.
@note register 29 and 31 are used for interrupt vector.
@return ESP_ERR_INVALID_ARG if address wrong, otherwise ESP_OK.