NANDFLASH_Info_TypeDef Struct Reference

NANDFLASH device information structure.

Definition at line 69 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 70 of file nandflash.h .

Referenced by NANDFLASH_AddressValid() .

uint32_t NANDFLASH_Info_TypeDef::blockSize

Device block size in bytes.

Definition at line 76 of file nandflash.h .

uint8_t NANDFLASH_Info_TypeDef::deviceCode

The device ID .

Definition at line 72 of file nandflash.h .

uint32_t NANDFLASH_Info_TypeDef::deviceSize

Total device size in bytes.

Definition at line 73 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 79 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 77 of file nandflash.h .

Referenced by NANDFLASH_ReadPage() , and NANDFLASH_WritePage() .

uint8_t NANDFLASH_Info_TypeDef::manufacturerCode

The device manufacturer code.

Definition at line 71 of file nandflash.h .

uint32_t NANDFLASH_Info_TypeDef::pageSize

Device page size in bytes.

Definition at line 74 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 78 of file nandflash.h .

Referenced by NANDFLASH_ReadPage() .

uint32_t NANDFLASH_Info_TypeDef::spareSize

Device page spare size in bytes.

Definition at line 75 of file nandflash.h .

Referenced by NANDFLASH_ReadPage() , and NANDFLASH_ReadSpare() .


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