AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/ports/xplained/ASF/xmega/drivers/adc/adc.h
static inline void adc_set_sample_value (ADC_t * adc, uint8_t val)
  {
    irqflags_t flags;

    flags = cpu_irq_save ();
    adc->SAMPCTRL = (uint8_t) val;
    cpu_irq_restore (flags);
  }
/**
 * \brief Set sample time value directly to ADC
 *
 * Sets the sample time value directly to the ADC, for quick access while the
 * ADC is enabled.
 *
 * \param adc Pointer to ADC module.
 * \param val Sample time value to set.
 *
 * \note The ADC must be enabled for this function to have any effect.
 */
\brief Set sample time value directly to ADC
Sets the sample time value directly to the ADC, for quick access while the
ADC is enabled.

\param adc Pointer to ADC module.
\param val Sample time value to set.

\note The ADC must be enabled for this function to have any effect.
\ brief Set sample time value directly to ADC Sets the sample time value directly to the ADC for quick access while the ADC is enabled . \ param adc Pointer to ADC module . \ param val Sample time value to set . \ note The ADC must be enabled for this function to have any effect .
static inline void adc_set_sample_value (ADC_t * adc, uint8_t val)
  {
    irqflags_t flags;
    flags = cpu_irq_save ();
    adc->SAMPCTRL = (uint8_t) val;
    cpu_irq_restore (flags);
  }
static inline void adc_set_sample_value ( ADC_t * adc , uint8_t val ) { irqflags_t flags ; flags = cpu_irq_save ( ) ; adc -> SAMPCTRL = ( uint8_t ) val ; cpu_irq_restore ( flags ) ; }
\brief Set sample time value directly to ADC
 Sets the sample time value directly to the ADC, for quick access while the
 ADC is enabled.
\ brief Set sample time value directly to ADC Sets the sample time value directly to the ADC for quick access while the ADC is enabled .