[][src]Function esp_idf_bindgen::spi_flash_read_encrypted

pub unsafe extern "C" fn spi_flash_read_encrypted(
    src: size_t,
    dest: *mut c_void,
    size: size_t
) -> esp_err_t

@brief Read data from Encrypted Flash.

If flash encryption is enabled, this function will transparently decrypt data as it is read. If flash encryption is not enabled, this function behaves the same as spi_flash_read().

See esp_flash_encryption_enabled() for a function to check if flash encryption is enabled.

@param src source address of the data in Flash. @param dest pointer to the destination buffer @param size length of data

@return esp_err_t