/* 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->CR & FLASH_CR_LOCK) != RESET)
    {
        FLASH->KEYR = FLASH_FKEY1;
        FLASH->KEYR = FLASH_FKEY2;
    }
}