Datasheet

Table Of Contents
98
SAM9N12/SAM9CN11/SAM9CN12 [DATASHEET]
11063K–ATARM–05-Nov-13
The PMECC descriptor structure is:
typedef struct _PMECC_paramDesc_struct {
unsigned int pageSize;
unsigned int spareSize;
unsigned int sectorSize; // 0 for 512, 1 for 1024 bytes
unsigned int errBitNbrCapability;
unsigned int eccSizeByte;
unsigned int eccStartAddr;
unsigned int eccEndAddr;
unsigned int nandWR;
unsigned int spareEna;
unsigned int modeAuto;
unsigned int clkCtrl;
unsigned int interrupt;
int tt;
int mm;
int nn;
short *alpha_to;
short *index_of;
short partialSyn[100];
short si[100];
/* sigma table */
short smu[TT_MAX + 2][2 * TT_MAX + 1];
/* polynom order */
short lmu[TT_MAX + 1];
} PMECC_paramDesc_struct;