TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
its_flash_nand.h File Reference

Implementations of the flash interface functions for a NAND flash device. See its_flash.h for full documentation of functions. More...

#include "its_flash.h"
Include dependency graph for its_flash_nand.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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

Detailed Description

Implementations of the flash interface functions for a NAND flash device. See its_flash.h for full documentation of functions.

Definition in file its_flash_nand.h.

Function Documentation

psa_status_t its_flash_nand_erase ( const struct its_flash_info_t info,
uint32_t  block_id 
)

Erases block ID data.

Definition at line 97 of file its_flash_nand.c.

psa_status_t its_flash_nand_flush ( const struct its_flash_info_t info)

Flushes modifications to a block to flash.

Definition at line 78 of file its_flash_nand.c.

Here is the call graph for this function:

psa_status_t its_flash_nand_init ( const struct its_flash_info_t info)

Initialize the Flash Interface.

Definition at line 33 of file its_flash_nand.c.

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.

Definition at line 45 of file its_flash_nand.c.

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.

Definition at line 60 of file its_flash_nand.c.

Here is the call graph for this function: