/* Configures the voltage threshold detected by the Power Voltage Detector(PVD).  */
void PWR_PVDLevelConfig(uint32_t PWR_PVDLevel)
/* Configures the voltage threshold detected by the Power Voltage Detector(PVD).  */
void PWR_PVDLevelConfig(uint32_t PWR_PVDLevel)
{
    uint32_t tmpregister = 0;
    assert_param(IS_PWR_PVD_LEVEL(PWR_PVDLevel));
    tmpregister = PWR->CTRL2;
    tmpregister &= (~PWR_CTRL2_PLSMASK);
    tmpregister |= PWR_PVDLevel;
    PWR->CTRL2 = tmpregister;
}