NANDFLASH_Info_TypeDef Struct Reference
[NandFlash]

NANDFLASH device information structure. More...

#include <nandflash.h>

Collaboration diagram for NANDFLASH_Info_TypeDef:
Collaboration graph
[legend]

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.

Detailed Description

NANDFLASH device information structure.

Definition at line 56 of file nandflash.h.


Field Documentation

The device base address in cpu memory map.

Definition at line 58 of file nandflash.h.

Referenced by NANDFLASH_AddressValid().

Device block size in bytes.

Definition at line 64 of file nandflash.h.

The device ID .

Definition at line 60 of file nandflash.h.

Total device size in bytes.

Definition at line 61 of file nandflash.h.

Referenced by NANDFLASH_AddressValid().

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

Definition at line 67 of file nandflash.h.

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

Result of ECC generation from last read/written page.

Definition at line 65 of file nandflash.h.

Referenced by NANDFLASH_ReadPage(), and NANDFLASH_WritePage().

The device manufacturer code.

Definition at line 59 of file nandflash.h.

Device page size in bytes.

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

Referenced by NANDFLASH_ReadPage().

Device page spare size in bytes.

Definition at line 63 of file nandflash.h.

Referenced by NANDFLASH_ReadPage(), and NANDFLASH_ReadSpare().


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