mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
cpu/efm32: remove ADC defintion for CPUs without ADC
Gecko Series 2 is shipped with a new IADC peripheral which is backed by its own emlib driver.
This commit is contained in:
parent
07c04bc0e3
commit
b3989bc11f
@ -41,6 +41,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if (defined(ADC_COUNT) && (ADC_COUNT > 0)) || defined(DOXYGEN)
|
||||||
/**
|
/**
|
||||||
* @brief Internal macro for combining ADC resolution (x) with number of
|
* @brief Internal macro for combining ADC resolution (x) with number of
|
||||||
* shifts (y).
|
* shifts (y).
|
||||||
@ -90,6 +91,7 @@ typedef struct {
|
|||||||
ADC_Ref_TypeDef reference; /**< channel voltage reference */
|
ADC_Ref_TypeDef reference; /**< channel voltage reference */
|
||||||
ADC_AcqTime_TypeDef acq_time; /**< channel acquisition time */
|
ADC_AcqTime_TypeDef acq_time; /**< channel acquisition time */
|
||||||
} adc_chan_conf_t;
|
} adc_chan_conf_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Length of CPU ID in octets.
|
* @brief Length of CPU ID in octets.
|
||||||
|
Loading…
Reference in New Issue
Block a user