/* Unlocks the FLASH control register and program memory access.  */
void FLASH_Unlock(void)
/* Unlocks the FLASH control register and program memory access.  */
void FLASH_Unlock(void)
{
  if((FLASH->PECR & FLASH_PECR_PRGLOCK) != RESET)
  {
    DATA_EEPROM_Unlock();
    FLASH->PRGKEYR = FLASH_PRGKEY1;
    FLASH->PRGKEYR = FLASH_PRGKEY2;  
  }
}