Skip to content

Commit b76f038

Browse files
committed
Make SPI Mode public
1 parent 82da850 commit b76f038

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1616
- This allow using 72 MHz `sysclk` on the `stm32f303`
1717
- Analog gpio trait ([#33](https://github.com/stm32-rs/stm32f3xx-hal/pull/33))
1818
- Add PWM Channels ([#34](https://github.com/stm32-rs/stm32f3xx-hal/pull/34))
19+
- SPI embedded hal modes are now public ([#35](https://github.com/stm32-rs/stm32f3xx-hal/pull/18))
1920

2021
### Breaking changes
2122

src/spi.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
33
use core::ptr;
44

5-
use crate::hal::spi::{FullDuplex, Mode, Phase, Polarity};
5+
use crate::hal::spi::FullDuplex;
6+
pub use crate::hal::spi::{Mode, Phase, Polarity};
67
use crate::stm32::{SPI1, SPI2, SPI3};
78
use nb;
89

0 commit comments

Comments
 (0)