NANDFLASH_Info_TypeDef Struct ReferenceKit Drivers > NandFlash

NANDFLASH device information structure.

Definition at line 54 of file nandflash.h.

#include <nandflash.h>

Data Fields

uint32_t baseAddress
 
uint32_t blockSize
 
uint8_t deviceCode
 
uint32_t deviceSize
 
int dmaCh
 
uint32_t ecc
 
uint8_t manufacturerCode
 
uint32_t pageSize
 
uint8_t spare [NAND256W3A_SPARESIZE]
 
uint32_t spareSize
 

Field Documentation

uint32_t NANDFLASH_Info_TypeDef::baseAddress

The device base address in cpu memory map.

Definition at line 55 of file nandflash.h.

Referenced by NANDFLASH_AddressValid().

uint32_t NANDFLASH_Info_TypeDef::blockSize

Device block size in bytes.

Definition at line 61 of file nandflash.h.

uint8_t NANDFLASH_Info_TypeDef::deviceCode

The device ID .

Definition at line 57 of file nandflash.h.

uint32_t NANDFLASH_Info_TypeDef::deviceSize

Total device size in bytes.

Definition at line 58 of file nandflash.h.

Referenced by NANDFLASH_AddressValid().

int NANDFLASH_Info_TypeDef::dmaCh

The DMA channel used, -1 if DMA is not used.

Definition at line 64 of file nandflash.h.

Referenced by NANDFLASH_Init(), NANDFLASH_ReadPage(), NANDFLASH_ReadSpare(), and NANDFLASH_WritePage().

uint32_t NANDFLASH_Info_TypeDef::ecc

Result of ECC generation from last read/written page.

Definition at line 62 of file nandflash.h.

Referenced by NANDFLASH_ReadPage(), and NANDFLASH_WritePage().

uint8_t NANDFLASH_Info_TypeDef::manufacturerCode

The device manufacturer code.

Definition at line 56 of file nandflash.h.

uint32_t NANDFLASH_Info_TypeDef::pageSize

Device page size in bytes.

Definition at line 59 of file nandflash.h.

Referenced by NANDFLASH_ReadPage(), and NANDFLASH_WritePage().

uint8_t NANDFLASH_Info_TypeDef::spare[NAND256W3A_SPARESIZE]

Spare area content from last read page or spare operation.

Definition at line 63 of file nandflash.h.

Referenced by NANDFLASH_ReadPage().

uint32_t NANDFLASH_Info_TypeDef::spareSize

Device page spare size in bytes.

Definition at line 60 of file nandflash.h.

Referenced by NANDFLASH_ReadPage(), and NANDFLASH_ReadSpare().


The documentation for this struct was generated from the following file:
  • C:/repos/embsw_super_h1/hardware/kit/common/drivers/nandflash.h