/* Enables or disables the specified NOR/SRAM Memory Bank.  */
void XFMC_EnableNorSram(XFMC_Bank1_Block *Block, FunctionalState Cmd)
/* Enables or disables the specified NOR/SRAM Memory Bank.  */
void XFMC_EnableNorSram(XFMC_Bank1_Block *Block, FunctionalState Cmd)
{
    assert_param(IS_XFMC_NOR_SRAM_BLOCK(Block));
    assert_param(IS_FUNCTIONAL_STATE(Cmd));
    if (Cmd != DISABLE)
    {
        Block->CRx |= XFMC_NOR_SRAM_ENABLE;
    }
    else
    {
        Block->CRx &= ~XFMC_NOR_SRAM_ENABLE;
    }
}