embassy-stm32

Crates

0.4.0

Versions

stm32g431k8

Flavors

Function split_subblocks

Source
pub fn split_subblocks<'d, T: Instance>(
    peri: Peri<'d, T>,
) -> (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.