/* Enable or disable the PWR Programmable Voltage Detector (PVD) function.  */
void PWR_PVDCmd(FunctionalState NewState)
/* Enable or disable the PWR Programmable Voltage Detector (PVD) function.  */
void PWR_PVDCmd(FunctionalState NewState)
{
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  if (NewState != DISABLE)
  {
    PWR->CSR1 |= PWR_CSR1_PVDE;
  }
  else
  {
    PWR->CSR1 &= (uint8_t)(~PWR_CSR1_PVDE);
  }
}