EFM32 Gecko Software Documentation  efm32g-doc-5.1.2
NANDFLASH_Info_TypeDef Struct Reference

Detailed Description

NANDFLASH device information structure.

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

Referenced by NANDFLASH_AddressValid().

uint32_t NANDFLASH_Info_TypeDef::blockSize

Device block size in bytes.

Definition at line 64 of file nandflash.h.

uint8_t NANDFLASH_Info_TypeDef::deviceCode

The device ID .

Definition at line 60 of file nandflash.h.

uint32_t NANDFLASH_Info_TypeDef::deviceSize

Total device size in bytes.

Definition at line 61 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 67 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 65 of file nandflash.h.

Referenced by NANDFLASH_ReadPage(), and NANDFLASH_WritePage().

uint8_t NANDFLASH_Info_TypeDef::manufacturerCode

The device manufacturer code.

Definition at line 59 of file nandflash.h.

uint32_t NANDFLASH_Info_TypeDef::pageSize

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().

uint32_t NANDFLASH_Info_TypeDef::spareSize

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: