= {
.fs_info = {0, 0},
.sector_size = PS_SECTOR_SIZE,
.block_size = (PS_SECTOR_SIZE * PS_SECTORS_PER_BLOCK) ,
.num_blocks = 0,
.program_unit = PS_FLASH_PROGRAM_UNIT ,
.erase_val = 0xFFU ,
}
psa_status_t its_flash_nor_erase(const struct its_flash_info_t *info, uint32_t block_id)
Erases block ID data.
psa_status_t its_flash_nor_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_nor_flush(const struct its_flash_info_t *info)
Flushes modifications to a block to flash.
#define PS_MAX_OBJECT_SIZE
psa_status_t its_flash_nor_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_nor_init(const struct its_flash_info_t *info)
Initialize the Flash Interface.
#define PS_MAX_NUM_OBJECTS
Specifies the maximum number of objects in the system, which is the number of defined assets...
ARM_DRIVER_FLASH PS_FLASH_DEV_NAME
#define ITS_UTILS_ALIGN(x, a)
Aligns a value up to the provided alignment.