Embassy
embassy-stm32

Crates

git

Versions

stm32l4q5ag

Flavors

Function embassy_stm32::sai::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.