embassy-stm32

Crates

git

Versions

stm32u5g9nj

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.