EccNandFlash_Initialize
Default mainpageat91libmemoriesnandflashEccNandFlash_Initialize
Description Source Call Graph
EccNandFlash_Initialize
Initializes an EccNandFlash instance.
 
Syntax / parameters
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)

Name Type Default Description
ecc struct EccNandFlash *
  Pointer to an EccNandFlash instance.
model const struct NandFlashModel *
  Pointer to the underlying nand chip model. Can be 0.
commandAddress unsigned int
  Address at which commands are sent.
addressAddress unsigned int
  Address at which addresses are sent.
dataAddress unsigned int
  Address at which data is sent.
pinChipEnable const Pin
  Pin controlling the CE signal of the NandFlash.
pinReadyBusy const Pin
  Pin used to monitor the ready/busy signal of the Nand.
 
Return value unsigned char
   
Description
Initializes an EccNandFlash instance.

 
Source
The documentation for this Member was generated from the following files:
  • EccNandFlash.c