/* Checks whether the specified XFMC flag is set or not.  */
FlagStatus XFMC_GetFlag(XFMC_Bank23_Module *Bank, uint32_t XFMC_FLAG)
/* Checks whether the specified XFMC flag is set or not.  */
FlagStatus XFMC_GetFlag(XFMC_Bank23_Module *Bank, uint32_t XFMC_FLAG)
{
    FlagStatus bitstatus = RESET;
    assert_param(IS_XFMC_NAND_BANK(Bank));
    assert_param(IS_XFMC_NAND_FLAG(XFMC_FLAG));
    if ((Bank->STSx & XFMC_FLAG) != (uint16_t)RESET)
    {
        bitstatus = SET;
    }
    else
    {
        bitstatus = RESET;
    }
    return bitstatus;
}