Name

struct nand_buffers — buffer structure for read/write

Synopsis

struct nand_buffers {
  uint8_t * ecccalc;
  uint8_t * ecccode;
  uint8_t * databuf;
};  

Members

uint8_t * ecccalc

buffer pointer for calculated ECC, size is oobsize.

uint8_t * ecccode

buffer pointer for ECC read from flash, size is oobsize.

uint8_t * databuf

buffer pointer for data, size is (page size + oobsize).

Description

Do not change the order of buffers. databuf and oobrbuf must be in consecutive order.