Skip to content

Commit aa64ad3

Browse files
committed
Make atomic gpio more readable
1 parent 674713d commit aa64ad3

File tree

5 files changed

+209
-147
lines changed

5 files changed

+209
-147
lines changed

CHANGELOG.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,20 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1919
- Update `stm32f3` pac to v0.15.1 ([#335])
2020
- Update `bxcan` pac to v0.7.0 ([#335])
2121
- The MSRV was bumped to 1.59 ([#335])
22+
No changes.
23+
### Breaking Changes
24+
25+
- The MSRV was bumped to 1.64 ([???])
26+
- Signature `Uid` struct LUF is returning a `CStr` now. ([???])
27+
- GPIO configuration functions no longer require registers as arguments ([#213])
28+
29+
### Fixed
30+
31+
- Defmt output of `Uid` struct is fixed ([???])
32+
33+
### Added
34+
35+
- Implement `into_xxx` methods for erased pins ([#213])
2236

2337
## [v0.9.1] - 2022-09-07
2438

@@ -45,7 +59,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4559
- Add common derives to `Toggle`. ([#281])
4660
- Add `is_interrupt_configured` and `configured_interrupts` function to
4761
`serial::Serial` and `timer::Timer`. ([#281])
48-
- Implement `into_xxx` methods for erased pins ([#213])
4962

5063
### Fixed
5164

@@ -99,8 +112,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99112
- Add interrupt support.
100113

101114
[here]: https://github.com/eldruin/rtcc-rs/blob/master/CHANGELOG.md#030---2022-02-19
102-
- The MSRV was bumped to 1.59 ([#213])
103-
- GPIO configuration functions no longer require registers as arguments ([#213])
104115

105116
## [v0.8.2] - 2021-12-14
106117

examples/adc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ fn main() -> ! {
8787

8888
// Set up pin PA0 as analog pin.
8989
// This pin is connected to the user button on the stm32f3discovery board.
90-
let mut gpioa = dp.GPIOA.split(&mut rcc.ahb);
90+
let gpioa = dp.GPIOA.split(&mut rcc.ahb);
9191
let mut analog_pin = gpioa.pa0.into_analog();
9292

9393
let mut timer = timer::Timer::new(dp.TIM2, clocks, &mut rcc.apb1);

0 commit comments

Comments
 (0)