/* Enables or disables the temperature sensor and Vrefint channel.  */
void ADC_TempSensorVrefintCmd(FunctionalState NewState)
/* Enables or disables the temperature sensor and Vrefint channel.  */
void ADC_TempSensorVrefintCmd(FunctionalState NewState)
{
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  if (NewState != DISABLE)
  {
    ADC1->CR2 |= CR2_TSVREFE_Set;
  }
  else
  {
    ADC1->CR2 &= CR2_TSVREFE_Reset;
  }
}