/* De-initializes the FMC NAND Banks registers to their default reset values.  */
void FMC_NANDDeInit(uint32_t FMC_Bank)
/* De-initializes the FMC NAND Banks registers to their default reset values.  */
void FMC_NANDDeInit(uint32_t FMC_Bank)
{
  assert_param(IS_FMC_NAND_BANK(FMC_Bank));
  if(FMC_Bank == FMC_Bank2_NAND)
  {
    FMC_Bank2->PCR2 = 0x00000018;
    FMC_Bank2->SR2 = 0x00000040;
    FMC_Bank2->PMEM2 = 0xFCFCFCFC;
    FMC_Bank2->PATT2 = 0xFCFCFCFC;  
  }  
  else
  {
    FMC_Bank3->PCR3 = 0x00000018;
    FMC_Bank3->SR3 = 0x00000040;
    FMC_Bank3->PMEM3 = 0xFCFCFCFC;
    FMC_Bank3->PATT3 = 0xFCFCFCFC; 
  }  
}