Public Attributes | List of all members
tstrDataAccessInitParams Struct Reference

This structure contains parameters for initializing a local data access (read, erase or write). More...

#include <nmflash.h>

Public Attributes

uint32 u32AlignmentSize
 
uint32 u32StartAlignment
 
uint32 u32TotalSize
 
uint8 u8Flags
 

Detailed Description

This structure contains parameters for initializing a local data access (read, erase or write).

See also
tpfDataAccessFn.
FLASH_FN_FLAGS_COMPARE_BEFORE
FLASH_FN_FLAGS_READ_SURROUNDING
FLASH_FN_FLAGS_BACKUP
FLASH_FN_FLAGS_ERASE
FLASH_FN_FLAGS_WRITE
FLASH_FN_FLAGS_COMPARE_AFTER
FLASH_FN_FLAGS_READ

Definition at line 226 of file nmflash.h.

Member Data Documentation

◆ u32AlignmentSize

uint32 tstrDataAccessInitParams::u32AlignmentSize

Block size, to assist with alignment.
This field can be set by the local memory access function tpfDataAccessFn. Defaults to 0 if not set. Recommended values are:

  • 4096 if accessing flash memory with erase block size <= 4096.
  • 0 if accessing normal memory.

Definition at line 238 of file nmflash.h.

◆ u32StartAlignment

uint32 tstrDataAccessInitParams::u32StartAlignment

Offset of access start address, relative to u32AlignmentSize.
This field can be set by the local memory access function tpfDataAccessFn. The field is ignored if u32AlignmentSize < 2.

Definition at line 241 of file nmflash.h.

◆ u32TotalSize

uint32 tstrDataAccessInitParams::u32TotalSize

Total size of data to be accessed in data location.
This field is set by the module in a call to tpfDataAccessFn.

Definition at line 229 of file nmflash.h.

◆ u8Flags

uint8 tstrDataAccessInitParams::u8Flags

Flags indicating type of data access.
This field is set by the module in a call to tpfDataAccessFn.

Definition at line 232 of file nmflash.h.


The documentation for this struct was generated from the following file:


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:10