TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
its_flash_ram.c File Reference
#include "its_flash_ram.h"
#include "tfm_memory_utils.h"
Include dependency graph for its_flash_ram.c:

Go to the source code of this file.

Functions

psa_status_t its_flash_ram_init (const struct its_flash_info_t *info)
 Initialize the Flash Interface. More...
 
psa_status_t its_flash_ram_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_ram_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_ram_flush (const struct its_flash_info_t *info)
 Flushes modifications to a block to flash. More...
 
psa_status_t its_flash_ram_erase (const struct its_flash_info_t *info, uint32_t block_id)
 Erases block ID data. More...
 

Function Documentation

psa_status_t its_flash_ram_erase ( const struct its_flash_info_t info,
uint32_t  block_id 
)

Erases block ID data.

Definition at line 64 of file its_flash_ram.c.

Here is the call graph for this function:

psa_status_t its_flash_ram_flush ( const struct its_flash_info_t info)

Flushes modifications to a block to flash.

Definition at line 55 of file its_flash_ram.c.

psa_status_t its_flash_ram_init ( const struct its_flash_info_t info)

Initialize the Flash Interface.

Definition at line 26 of file its_flash_ram.c.

psa_status_t its_flash_ram_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 33 of file its_flash_ram.c.

Here is the call graph for this function:

psa_status_t its_flash_ram_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 44 of file its_flash_ram.c.

Here is the call graph for this function: