__FMC_NAND_GET_FLAG macro
Get flag status of the NAND device.
Syntax
#define __FMC_NAND_GET_FLAG(__INSTANCE__, __BANK__, __FLAG__) (((__BANK__) == FMC_NAND_BANK2)? (((__INSTANCE__)->SR2 &(__FLAG__)) == (__FLAG__)): \
(((__INSTANCE__)->SR3 &(__FLAG__)) == (__FLAG__)))
Arguments
__INSTANCE__
FMC_NAND Instance
__FLAG__
FMC_NAND flag This parameter can be any combination of the following values: @arg FMC_FLAG_RISING_EDGE: Interrupt rising edge flag. @arg FMC_FLAG_LEVEL: Interrupt level edge flag. @arg FMC_FLAG_FALLING_EDGE: Interrupt falling edge flag. @arg FMC_FLAG_FEMPT: FIFO empty flag.
Return value
The state of FLAG (SET or RESET).