CMSIS-Driver
Version 2.04
Peripheral Interface for Middleware and Application Code
|
Specify ECC codes. More...
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. | |
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.
#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.