Skip to content

Commit dd4bda4

Browse files
committed
Make atomic gpio more readable
1 parent 0273abf commit dd4bda4

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
@@ -22,6 +22,20 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2222
- Deprecate `Toggle` enum and use `Switch` instead for better naming purposes
2323
([#334])
2424
- Add `impl From<Toggle> for Switch` to reduce churn.
25+
No changes.
26+
### Breaking Changes
27+
28+
- The MSRV was bumped to 1.64 ([???])
29+
- Signature `Uid` struct LUF is returning a `CStr` now. ([???])
30+
- GPIO configuration functions no longer require registers as arguments ([#213])
31+
32+
### Fixed
33+
34+
- Defmt output of `Uid` struct is fixed ([???])
35+
36+
### Added
37+
38+
- Implement `into_xxx` methods for erased pins ([#213])
2539

2640
## [v0.9.1] - 2022-09-07
2741

@@ -48,7 +62,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4862
- Add common derives to `Toggle`. ([#281])
4963
- Add `is_interrupt_configured` and `configured_interrupts` function to
5064
`serial::Serial` and `timer::Timer`. ([#281])
51-
- Implement `into_xxx` methods for erased pins ([#213])
5265

5366
### Fixed
5467

@@ -102,8 +115,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
102115
- Add interrupt support.
103116

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

108119
## [v0.8.2] - 2021-12-14
109120

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)