Hardware control related constants
Prev | Chapter 8. Constants | Next

## Hardware control related constants

These constants describe the requested hardware access function when the boardspecific hardware control function is called

    /* Select the chip by setting nCE to low */
    #define NAND_CTL_SETNCE 	1
    /* Deselect the chip by setting nCE to high */
    #define NAND_CTL_CLRNCE		2
    /* Select the command latch by setting CLE to high */
    #define NAND_CTL_SETCLE		3
    /* Deselect the command latch by setting CLE to low */
    #define NAND_CTL_CLRCLE		4
    /* Select the address latch by setting ALE to high */
    #define NAND_CTL_SETALE		5
    /* Deselect the address latch by setting ALE to low */
    #define NAND_CTL_CLRALE		6
    /* Set write protection by setting WP to high. Not used! */
    #define NAND_CTL_SETWP		7
    /* Clear write protection by setting WP to low. Not used! */
    #define NAND_CTL_CLRWP		8

Prev | Up | Next
ECC selection constants | Home | Bad block table related constants