embassy/examples
bors[bot] ef533e6df4
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>
2022-10-10 06:28:41 +00:00
..
boot all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
nrf all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
nrf-rtos-trace all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
rp all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
std all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32f0 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32f1 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32f2 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32f3 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32f4 Merge #1004 2022-10-10 06:28:41 +00:00
stm32f7 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32g0 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32g4 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32h7 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32l0 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32l1 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32l4 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32l5 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32u5 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32wb all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32wl all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
wasm all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00