SAMV71 Xplained Ultra Software Package 1.0

EccNandFlash.h File Reference

#include "RawNandFlash.h"

Go to the source code of this file.

Data Structures

struct  EccNandFlash

Functions

unsigned char EccNandFlash_Initialize (struct EccNandFlash *ecc, const struct NandFlashModel *model, unsigned int commandAddress, unsigned int addressAddress, unsigned int dataAddress, const Pin pinChipEnable, const Pin pinReadyBusy)
unsigned char EccNandFlash_ReadPage (const struct EccNandFlash *ecc, unsigned short block, unsigned short page, void *data, void *spare)
unsigned char EccNandFlash_WritePage (const struct EccNandFlash *ecc, unsigned short block, unsigned short page, void *data, void *spare)

Detailed Description

EccNandFlash layer is called by SkipBlockNandFlash driver, it will call the bl driver (RawNandFlash) to do write/read operations, and do ECC check to the write/read result, it then will feedback the ecc check result to the upper SkipBlockNandFlash layer driver.

Definition in file EccNandFlash.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines