/* Sets or resets the analogue monitoring on VDDA Power source.  */
FLASH_Status FLASH_OB_VDDAConfig(uint8_t OB_VDDA_ANALOG)
/* Sets or resets the analogue monitoring on VDDA Power source.  */
FLASH_Status FLASH_OB_VDDAConfig(uint8_t OB_VDDA_ANALOG)
{
    FLASH_Status status = FLASH_COMPLETE;
    assert_param(IS_OB_VDDA_ANALOG(OB_VDDA_ANALOG));
    status = FLASH_WaitForLastOperation(FLASH_ER_PRG_TIMEOUT);
    if (status == FLASH_COMPLETE)
    {
        FLASH->CR |= FLASH_CR_OPTPG;
        OB->USER = OB_VDDA_ANALOG | 0xDF;
        status = FLASH_WaitForLastOperation(FLASH_ER_PRG_TIMEOUT);
        if (status != FLASH_TIMEOUT)
        {
            FLASH->CR &= ~FLASH_CR_OPTPG;
        }
    }
    return status;
}