aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmaple/adc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libmaple/adc.h b/libmaple/adc.h
index 109f21f..d0b85fa 100644
--- a/libmaple/adc.h
+++ b/libmaple/adc.h
@@ -288,7 +288,11 @@ typedef enum adc_extsel_event {
void adc_set_extsel(const adc_dev *dev, adc_extsel_event event);
void adc_foreach(void (*fn)(const adc_dev*));
-/** ADC per-sample conversion times, in ADC clock cycles */
+/**
+ * @brief ADC sample times, in ADC clock cycles
+ *
+ * These control the amount of time spent sampling the input voltage.
+ */
typedef enum {
ADC_SMPR_1_5, /**< 1.5 ADC cycles */
ADC_SMPR_7_5, /**< 7.5 ADC cycles */