CMSIS-Driver  
Peripheral Interface for Middleware and Application Code
 
Loading...
Searching...
No Matches
NAND ECC Codes

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.
 

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

◆ ARM_NAND_ECC

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

Select ECC.

◆ ARM_NAND_ECC0

#define ARM_NAND_ECC0   (1UL << 8)

Use ECC0 of selected ECC.

◆ ARM_NAND_ECC1

#define ARM_NAND_ECC1   (1UL << 9)

Use ECC1 of selected ECC.