samd21: Hook up AltOS style ADC
authorKeith Packard <keithp@keithp.com>
Wed, 9 Nov 2022 00:18:57 +0000 (16:18 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 9 Nov 2022 00:18:57 +0000 (16:18 -0800)
commit7bcde16c96f05595969bceef76905aa2e285c66b
treea4a7fe024d0c353d4fe2f09843e0ed183d0f4ccf
parent5ca0ed94f30943952b9c63ee558733d37c896b5f
samd21: Hook up AltOS style ADC

Can't use DMA; samd21 only does ADC in continuous pins. ISR per ADC,
manually step through.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/samd21/ao_adc_samd21.c
src/samd21/ao_adc_samd21.h
src/samd21/samd21.h