mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #18688 from benpicco/cpu/sam0_common-muxpos
cpu/sam0_common: ADC keep muxpos as legacy define
This commit is contained in:
commit
1a1b41bea5
@ -772,7 +772,11 @@ static inline bool cpu_woke_from_backup(void)
|
||||
* @brief ADC Channel Configuration
|
||||
*/
|
||||
typedef struct {
|
||||
uint32_t inputctrl; /**< ADC channel pin multiplexer value */
|
||||
union {
|
||||
uint32_t inputctrl; /**< ADC channel pin multiplexer value */
|
||||
uint32_t muxpos; /**< ADC channel pin multiplexer value
|
||||
@deprecated, use inputctrl instead */
|
||||
};
|
||||
#ifdef ADC0
|
||||
Adc *dev; /**< ADC device descriptor */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user