NANDFLASH device information structure. More...
#include <nandflash.h>
Data Fields | |
uint32_t | baseAddress |
The device base address in cpu memory map. | |
uint8_t | manufacturerCode |
The device manufacturer code. | |
uint8_t | deviceCode |
The device ID . | |
uint32_t | deviceSize |
Total device size in bytes. | |
uint32_t | pageSize |
Device page size in bytes. | |
uint32_t | spareSize |
Device page spare size in bytes. | |
uint32_t | blockSize |
Device block size in bytes. | |
uint32_t | ecc |
Result of ECC generation from last read/written page. | |
uint8_t | spare [NAND256W3A_SPARESIZE] |
Spare area content from last read page or spare operation. | |
int | dmaCh |
The DMA channel used, -1 if DMA is not used. |
NANDFLASH device information structure.
Definition at line 74 of file nandflash.h.
uint32_t NANDFLASH_Info_TypeDef::baseAddress |
The device base address in cpu memory map.
Definition at line 76 of file nandflash.h.
Referenced by NANDFLASH_AddressValid().
uint32_t NANDFLASH_Info_TypeDef::blockSize |
Device block size in bytes.
Definition at line 82 of file nandflash.h.
The device ID .
Definition at line 78 of file nandflash.h.
uint32_t NANDFLASH_Info_TypeDef::deviceSize |
Total device size in bytes.
Definition at line 79 of file nandflash.h.
Referenced by NANDFLASH_AddressValid().
The DMA channel used, -1 if DMA is not used.
Definition at line 85 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 83 of file nandflash.h.
Referenced by NANDFLASH_ReadPage(), and NANDFLASH_WritePage().
The device manufacturer code.
Definition at line 77 of file nandflash.h.
uint32_t NANDFLASH_Info_TypeDef::pageSize |
Device page size in bytes.
Definition at line 80 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 84 of file nandflash.h.
Referenced by NANDFLASH_ReadPage().
uint32_t NANDFLASH_Info_TypeDef::spareSize |
Device page spare size in bytes.
Definition at line 81 of file nandflash.h.
Referenced by NANDFLASH_ReadPage(), and NANDFLASH_ReadSpare().