Skip to content

Commit 0a39360

Browse files
authored
Merge pull request #763 from stm32-rs/saiX
SAI RCC
2 parents dfc92fa + aed9d71 commit 0a39360

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/rcc/enable.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,21 @@ bus_lpenable!(ADC3 => 10);
276276
#[cfg(feature = "adc3")]
277277
bus_reset!(ADC3 => 8);
278278

279+
#[cfg(feature = "stm32f413")]
280+
bus! {
281+
SAI => (APB2, 22),
282+
}
283+
284+
#[cfg(any(feature = "stm32f427", feature = "stm32f437", feature = "stm32f446"))]
285+
bus! {
286+
SAI1 => (APB2, 22),
287+
}
288+
289+
#[cfg(feature = "sai2")]
290+
bus! {
291+
SAI2 => (APB2, 23),
292+
}
293+
279294
#[cfg(feature = "sdio")]
280295
bus! {
281296
SDIO => (APB2, 11),

0 commit comments

Comments
 (0)