/* 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 tmpreg = 0;
    assert_param(IS_PWR_PVD_LEVEL(PWR_PVDLevel));
    tmpreg = PWR->CR;
    tmpreg &= CR_PLS_Mask;
    tmpreg |= PWR_PVDLevel;
    PWR->CR = tmpreg;
}