diff options
| author | pennae <[email protected]> | 2023-07-05 20:05:34 +0200 |
|---|---|---|
| committer | pennae <[email protected]> | 2023-07-07 17:46:35 +0200 |
| commit | 972cdd4265b24efb101c6b9df373466fcbccac5d (patch) | |
| tree | bce7704ef8990d5e9032e0db88235aa062e0f619 /examples/std/src/bin | |
| parent | 46a46009520036cc4b4dd52e7e3bdc5191b67ea0 (diff) | |
rp/adc: rewrite the module
- 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
Diffstat (limited to 'examples/std/src/bin')
0 files changed, 0 insertions, 0 deletions
