Skip to content

Commit 1f6ffba

Browse files
Cryowatteldruin
authored andcommitted
Enabled interruptable gpio on alternate function pins
1 parent d1e7198 commit 1f6ffba

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1313
- Use PascalCase for generated values of enums ([stm32-rs#727](https://github.com/stm32-rs/stm32-rs/pull/727))
1414
- Updated `synopsys-usb-otg` dependency 0.2.3 -> 0.3
1515
- Updated `stm32-fmc` dependency 0.2.0 -> 0.3
16+
- Added Interruptable trait to Alternate mode pins
1617

1718
## [v0.7.0] - 2022-06-05
1819

src/gpio.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ mod sealed {
150150
use sealed::Interruptable;
151151
impl<MODE> Interruptable for Output<MODE> {}
152152
impl<MODE> Interruptable for Input<MODE> {}
153+
impl<const A: u8, MODE> Interruptable for Alternate<A, MODE> {}
153154

154155
/// External Interrupt Pin
155156
pub trait ExtiPin {

0 commit comments

Comments
 (0)