mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +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" {
|
||||
#endif
|
||||
|
||||
#if (defined(ADC_COUNT) && (ADC_COUNT > 0)) || defined(DOXYGEN)
|
||||
/**
|
||||
* @brief Internal macro for combining ADC resolution (x) with number of
|
||||
* shifts (y).
|
||||
@ -90,6 +91,7 @@ typedef struct {
|
||||
ADC_Ref_TypeDef reference; /**< channel voltage reference */
|
||||
ADC_AcqTime_TypeDef acq_time; /**< channel acquisition time */
|
||||
} adc_chan_conf_t;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Length of CPU ID in octets.
|
||||
|
Loading…
Reference in New Issue
Block a user