Skip to content

Commit f428bb6

Browse files
authored
Add channel impls for pins PE9 and PE10 when using stm32f303xe feature (#345)
1 parent 9ca5e01 commit f428bb6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2929

3030
- Add missing ADC channels ([#337])
3131
- Add many `#[must_use]` instances ([#347])
32+
- Add missing ADC channels ([#345])
3233

3334
### Fixed
3435

@@ -598,6 +599,7 @@ let clocks = rcc
598599
[defmt]: https://github.com/knurling-rs/defmt
599600
[filter]: https://defmt.ferrous-systems.com/filtering.html
600601

602+
[#345]: https://github.com/stm32-rs/stm32f3xx-hal/pull/345
601603
[#346]: https://github.com/stm32-rs/stm32f3xx-hal/pull/346
602604
[#347]: https://github.com/stm32-rs/stm32f3xx-hal/pull/347
603605
[#340]: https://github.com/stm32-rs/stm32f3xx-hal/pull/340

src/adc/channel.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ cfg_if::cfg_if! {
294294
(PD13, [(ADC3, Id::Ten), (ADC4, Id::Ten)]),
295295
(PD14, [(ADC3, Id::Eleven), (ADC4, Id::Eleven)]),
296296
(PD9, [(ADC4, Id::Thirteen)]),
297+
(PE9, [(ADC3, Id::Two)]),
298+
(PE10, [(ADC3, Id::Fourteen)]),
297299
(PE11, [(ADC3, Id::Fifteen)]),
298300
(PE12, [(ADC3, Id::Sixteen)]),
299301
(PE7, [(ADC3, Id::Thirteen)]),

0 commit comments

Comments
 (0)