26 uint32_t block_id, uint8_t *buff,
27 size_t offset,
size_t size);
33 uint32_t block_id,
const uint8_t *buff,
34 size_t offset,
size_t size);
psa_status_t its_flash_nand_init(const struct its_flash_info_t *info)
Initialize the Flash Interface.
psa_status_t its_flash_nand_read(const struct its_flash_info_t *info, uint32_t block_id, uint8_t *buff, size_t offset, size_t size)
Reads block data from the position specified by block ID and offset.
psa_status_t its_flash_nand_write(const struct its_flash_info_t *info, uint32_t block_id, const uint8_t *buff, size_t offset, size_t size)
Writes block data to the position specified by block ID and offset.
psa_status_t its_flash_nand_erase(const struct its_flash_info_t *info, uint32_t block_id)
Erases block ID data.
Structure containing the required information about a flash device to be used by the ITS Flash FS...
psa_status_t its_flash_nand_flush(const struct its_flash_info_t *info)
Flushes modifications to a block to flash.
int32_t psa_status_t
Function return status.