/* Checks whether the PVD interrupt has occurred or not.  */
ITStatus PWR_PVDGetITStatus(void)
/* Checks whether the PVD interrupt has occurred or not.  */
ITStatus PWR_PVDGetITStatus(void)
{
  ITStatus bitstatus = RESET;
  uint8_t PVD_itStatus = 0x0, PVD_itEnable = 0x0;
  PVD_itStatus = (uint8_t)(PWR->CSR1 & (uint8_t)PWR_CSR1_PVDIF);
  PVD_itEnable = (uint8_t)(PWR->CSR1 & (uint8_t)PWR_CSR1_PVDIEN);
  if ((PVD_itStatus != (uint8_t)RESET ) && (PVD_itEnable != (uint8_t)RESET))
  {
    bitstatus = (ITStatus)SET;
  }
  else
  {
    bitstatus = (ITStatus)RESET;
  }
  return ((ITStatus)bitstatus);
}