atsam-rs/atsam4-hal

Add support for ADC module

haata opened this issue · 1 comments

haata commented

12-bit ADC with a 16-to-1 mux.

https://docs.rs/embedded-hal/0.2.4/embedded_hal/adc/index.html
https://github.com/atsamd-rs/atsamd/blob/master/hal/src/common/thumbv7em/adc.rs

Should support:

  • Free running mode
  • Single conversion
  • Gain and Offset control
  • Temperature sensor

Unclear

  • How to setup ADC settings (especially if tuning is needed)
  • PDC format (probably should have a separate issued with embedded-dma)
  • Supporting differential mode
haata commented

Fixed with PR #46