diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-10-10 06:28:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 06:28:41 +0000 |
commit | ef533e6df48d35b57fcb497e7bb5d6bafd6ca725 (patch) | |
tree | 44d6dfa425e60deb6dd28eb738563b5857d75719 /examples/boot/application/nrf | |
parent | f8fd6ab208fd09142ab9789078e9b23ba8c3e6a9 (diff) | |
parent | 322cfafed353ddfbe62121238ef97c56dd7a6eed (diff) | |
download | embassy-ef533e6df48d35b57fcb497e7bb5d6bafd6ca725.zip |
Merge #1004
1004: Fix internal channels for adc v2 r=lulf a=chemicstry
Internal channel reading was broken on adc_v2, because `Adc::read()` requires gpio pin trait, which was not implemented by `VrefInt`, `Temperature`, `Vbat`. The required configuration bits `tsvrefe`, `vbate` were not enabled either. This PR makes it a bit closer to how adc_v4 works.
While at it, I also changed adc_v2 to use `RccPeripheral` instead of permanently enabling all ADCs.
Co-authored-by: chemicstry <chemicstry@gmail.com>
Diffstat (limited to 'examples/boot/application/nrf')
0 files changed, 0 insertions, 0 deletions