/* Enables or disables the specified NAND Memory Bank.  */
void XFMC_EnableNand(XFMC_Bank23_Module *Bank, FunctionalState Cmd)
/* Enables or disables the specified NAND Memory Bank.  */
void XFMC_EnableNand(XFMC_Bank23_Module *Bank, FunctionalState Cmd)
{
    assert_param(IS_XFMC_NAND_BANK(Bank));
    assert_param(IS_FUNCTIONAL_STATE(Cmd));
    if (Cmd != DISABLE)
    {
        Bank->CTRLx |= XFMC_NAND_BANK_ENABLE;
    }
    else
    {
        Bank->CTRLx &= ~XFMC_NAND_BANK_ENABLE;
    }
}