mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
cpu/saml1x: define ADC pins
This commit is contained in:
parent
9af5deb54a
commit
ae664baa58
@ -55,6 +55,17 @@ typedef enum {
|
||||
} adc_res_t;
|
||||
#endif /* ndef DOXYGEN */
|
||||
|
||||
/**
|
||||
* @brief Pins that can be used for ADC input
|
||||
*/
|
||||
static const gpio_t sam0_adc_pins[1][10] = {
|
||||
{
|
||||
GPIO_PIN(PA, 2), GPIO_PIN(PA, 3), GPIO_PIN(PA, 4), GPIO_PIN(PA, 5),
|
||||
GPIO_PIN(PA, 6), GPIO_PIN(PA, 7), GPIO_PIN(PA, 8), GPIO_PIN(PA, 9),
|
||||
GPIO_PIN(PA, 10), GPIO_PIN(PA, 11)
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief The MCU has a 10 bit DAC
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user