/* Enables or disables the ADC Power Down during Delay and/or Idle phase.  */
void ADC_PowerDownCmd(ADC_TypeDef *ADCx, uint32_t ADC_PowerDown, FunctionalState NewState)
/* Enables or disables the ADC Power Down during Delay and/or Idle phase.  */
void ADC_PowerDownCmd(ADC_TypeDef *ADCx, uint32_t ADC_PowerDown, FunctionalState NewState)
{
  assert_param(IS_ADC_ALL_PERIPH(ADCx));
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  assert_param(IS_ADC_POWER_DOWN(ADC_PowerDown));
  if (NewState != DISABLE)
  {
    ADCx->CR1 |= ADC_PowerDown;
  }
  else
  {
    ADCx->CR1 &= (uint32_t)~ADC_PowerDown;
  }
}