doc: efm32: adc: enable peripheral_apis style

This commit is contained in:
Karl Palsson
2019-06-22 01:08:22 +00:00
parent ae777bb920
commit 0626f6f75d
5 changed files with 43 additions and 17 deletions

View File

@@ -1,3 +1,6 @@
/** @addtogroup adc_file ADC peripheral API
* @ingroup peripheral_apis
*/
/*
* This file is part of the libopencm3 project.
*
@@ -19,6 +22,8 @@
#include <libopencm3/efm32/adc.h>
/**@{*/
/**
* Set ADC over sampling
* @param[in] adc ADC (use ADCx)
@@ -669,3 +674,5 @@ void adc_set_calibration_single_offset(uint32_t adc, uint8_t single_offset)
{
ADC_CAL(adc) = (ADC_CAL(adc) & ADC_CAL_SINGLEOFF_MASK) | single_offset;
}
/**@}*/