RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros

macros to handle NAND device enable/disable More...

Macros

#define __FMC_NAND_ENABLE(__INSTANCE__)   ((__INSTANCE__)->PCR |= FMC_PCR_PBKEN)
 Enable the NAND device access.
 
#define __FMC_NAND_DISABLE(__INSTANCE__, __BANK__)   CLEAR_BIT((__INSTANCE__)->PCR, FMC_PCR_PBKEN)
 Disable the NAND device access.
 

Detailed Description

macros to handle NAND device enable/disable

Macro Definition Documentation

◆ __FMC_NAND_DISABLE

#define __FMC_NAND_DISABLE (   __INSTANCE__,
  __BANK__ 
)    CLEAR_BIT((__INSTANCE__)->PCR, FMC_PCR_PBKEN)

Disable the NAND device access.

Parameters
__INSTANCE__FMC_NAND Instance
__BANK__FMC_NAND Bank
Return values
None

◆ __FMC_NAND_ENABLE

#define __FMC_NAND_ENABLE (   __INSTANCE__)    ((__INSTANCE__)->PCR |= FMC_PCR_PBKEN)

Enable the NAND device access.

Parameters
__INSTANCE__FMC_NAND Instance
Return values
None