NAND ECC CodesNAND Interface

Specify ECC codes.

Macros

#define ARM_NAND_ECC(n)   ((n) & ARM_NAND_ECC_INDEX_Msk)
 Select ECC.
 
#define ARM_NAND_ECC0   (1UL << 8)
 Use ECC0 of selected ECC.
 
#define ARM_NAND_ECC1   (1UL << 9)
 Use ECC1 of selected ECC.
 

Description

Specify ECC codes.

The defines can be used in the function ARM_NAND_ReadData and ARM_NAND_WriteData for the parameter mode and in the function ARM_NAND_ExecuteSequence for the parameter code.

Macro Definition Documentation

#define ARM_NAND_ECC (   n)    ((n) & ARM_NAND_ECC_INDEX_Msk)

Select ECC.

#define ARM_NAND_ECC0   (1UL << 8)

Use ECC0 of selected ECC.

#define ARM_NAND_ECC1   (1UL << 9)

Use ECC1 of selected ECC.