Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add channel impls for pins PE9 and PE10 when using stm32f303xe feature #345

Merged
merged 3 commits into from
Nov 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- Add missing ADC channels ([#337])
- Add many `#[must_use]` instances ([#347])
- Add missing ADC channels ([#345])

### Fixed

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

[#345]: https://github.com/stm32-rs/stm32f3xx-hal/pull/345
[#346]: https://github.com/stm32-rs/stm32f3xx-hal/pull/346
[#347]: https://github.com/stm32-rs/stm32f3xx-hal/pull/347
[#340]: https://github.com/stm32-rs/stm32f3xx-hal/pull/340
Expand Down
2 changes: 2 additions & 0 deletions src/adc/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ cfg_if::cfg_if! {
(PD13, [(ADC3, Id::Ten), (ADC4, Id::Ten)]),
(PD14, [(ADC3, Id::Eleven), (ADC4, Id::Eleven)]),
(PD9, [(ADC4, Id::Thirteen)]),
(PE9, [(ADC3, Id::Two)]),
(PE10, [(ADC3, Id::Fourteen)]),
(PE11, [(ADC3, Id::Fifteen)]),
(PE12, [(ADC3, Id::Sixteen)]),
(PE7, [(ADC3, Id::Thirteen)]),
Expand Down