/* Enables or disables the specified NOR/SRAM Memory Bank.  */
void FMC_NORSRAMCmd(uint32_t FMC_Bank, FunctionalState NewState)
/* Enables or disables the specified NOR/SRAM Memory Bank.  */
void FMC_NORSRAMCmd(uint32_t FMC_Bank, FunctionalState NewState)
{
  assert_param(IS_FMC_NORSRAM_BANK(FMC_Bank));
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  if (NewState != DISABLE)
  {
    FMC_Bank1->BTCR[FMC_Bank] |= BCR_MBKEN_SET;
  }
  else
  {
    FMC_Bank1->BTCR[FMC_Bank] &= BCR_MBKEN_RESET;
  }
}