[riot-notifications] [RIOT-OS/RIOT] Arduino Zero ADC (#11335)

Alexander notifications at github.com
Wed Apr 3 16:00:23 CEST 2019

@kaspar030 thanks for the warm welcome.

In `adc_channels[]` how are macros `ADC_INPUTCTRL_MUXPOS_PINxx` defined?
Looking at the patch you sent its pretty logical, however looking at samd21-xpro I can't find a relation between port/pin and muxpos.
example: `{GPIO_PIN(PB, 0), ADC_INPUTCTRL_MUXPOS_PIN8},      /* EXT1, pin 3 */`

I found the literal definition on lines `334-353` in `cpu/sam0_common/include/vendor/samd21/include/component/adc.h`, but I can't seem to find how these are related to pins.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190403/c09acc40/attachment.html>

More information about the notifications mailing list