embassy-stm32

Crates

git

Versions

stm32h757ii-cm4

Flavors

embassy_stm32::sai

Function split_subblocks

Source
pub fn split_subblocks<'d, T: Instance>(
    peri: impl Peripheral<P = T> + 'd,
) -> (SubBlock<'d, T, A>, SubBlock<'d, T, B>)
Expand description

Split the main SAIx peripheral into the two subblocks.

You can then create a Sai driver for each each half.