mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-29 18:22:31 +00:00
972cdd4265
- don't require an irq binding for blocking-only adc - abstract adc pins into an AnyPin like interface, erasing the actual peripheral type at runtime. - add pull-up/pull-down functions for adc pins - add a test (mostly a copy of the example, to be honest) - configure adc pads according to datasheet - report conversion errors (although they seem exceedingly rare?) - drop embedded-hal interfaces. embedded-hal channels can do neither AnyPin nor pullup/pulldown without encoding both into the type |
||
---|---|---|
.. | ||
bin | ||
common.rs |