![]() |
TF-M Reference Manual
1.2.0
TrustedFirmware-M
|
Implementations of the flash interface functions for a NOR flash device. See its_flash.h for full documentation of functions. More...
#include "its_flash.h"
Go to the source code of this file.
Functions | |
psa_status_t | its_flash_nor_init (const struct its_flash_info_t *info) |
Initialize the Flash Interface. More... | |
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. More... | |
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. More... | |
psa_status_t | its_flash_nor_flush (const struct its_flash_info_t *info) |
Flushes modifications to a block to flash. More... | |
psa_status_t | its_flash_nor_erase (const struct its_flash_info_t *info, uint32_t block_id) |
Erases block ID data. More... | |
Implementations of the flash interface functions for a NOR flash device. See its_flash.h for full documentation of functions.
Definition in file its_flash_nor.h.
psa_status_t its_flash_nor_erase | ( | const struct its_flash_info_t * | info, |
uint32_t | block_id | ||
) |
Erases block ID data.
Definition at line 79 of file its_flash_nor.c.
psa_status_t its_flash_nor_flush | ( | const struct its_flash_info_t * | info | ) |
Flushes modifications to a block to flash.
Definition at line 70 of file its_flash_nor.c.
psa_status_t its_flash_nor_init | ( | const struct its_flash_info_t * | info | ) |
Initialize the Flash Interface.
Definition at line 28 of file its_flash_nor.c.
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.
Definition at line 40 of file its_flash_nor.c.
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.
Definition at line 55 of file its_flash_nor.c.