embassy-stm32

Crates

git

Versions

stm32g4a1me

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.