Skip to content

Commit 8cf6af7

Browse files
Mathias Gottschlagmgottschlag
authored andcommitted
sai: HAL implementation for the serial audio interface (only F429 for now).
Some bits are still missing: - Support for DMA - Implementation of the new embedded-hal I2S traits - Documentation about how to set the intermediate SAI clock - Support for other MCUs
1 parent 2dc4277 commit 8cf6af7

File tree

2 files changed

+912
-0
lines changed

2 files changed

+912
-0
lines changed

src/lib.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,18 @@ pub mod pwm;
166166
pub mod qei;
167167
#[cfg(feature = "device-selected")]
168168
pub mod rcc;
169+
#[cfg(any(
170+
feature = "stm32f413",
171+
feature = "stm32f423",
172+
feature = "stm32f427",
173+
feature = "stm32f429",
174+
feature = "stm32f437",
175+
feature = "stm32f439",
176+
feature = "stm32f446",
177+
feature = "stm32f469",
178+
feature = "stm32f469",
179+
))]
180+
pub mod sai;
169181
#[cfg(all(
170182
feature = "sdio",
171183
not(any(feature = "stm32f410", feature = "stm32f446",))

0 commit comments

Comments
 (0)