We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e5e70e commit 3885e4bCopy full SHA for 3885e4b
cpu/efm32/include/periph_cpu.h
@@ -41,6 +41,7 @@
41
extern "C" {
42
#endif
43
44
+#if (defined(ADC_COUNT) && (ADC_COUNT > 0)) || defined(DOXYGEN)
45
/**
46
* @brief Internal macro for combining ADC resolution (x) with number of
47
* shifts (y).
@@ -90,6 +91,7 @@ typedef struct {
90
91
ADC_Ref_TypeDef reference; /**< channel voltage reference */
92
ADC_AcqTime_TypeDef acq_time; /**< channel acquisition time */
93
} adc_chan_conf_t;
94
+#endif
95
96
97
* @brief Length of CPU ID in octets.
0 commit comments