embassy-stm32

Crates

git

Versions

stm32h7b0zb

Flavors

Skip to main content

Module splits

Module splits 

Source
Expand description

Split-build traits: the interface between configure_pins’ closure tuple and the shape-dependent split structs. The split structs, selectors and ChannelCfgTuple impls are generated by build.rs (see src/dfsdm/codegen.rs) and glob-re-exported from crate::_generated::dfsdm.

Traits§

ChannelCfgTuple
Implemented for the tuple a configure_pins closure returns. The arity is the transceiver-count check: (C0, C1) only impls for Tcv2 instances, the 8-tuple only for Tcv8.
Tcv2SplitBuild
Builds the actual split struct from already-extracted pin pairs.
Tcv4SplitBuild
4-transceiver twin of Tcv2SplitBuild.
Tcv8SplitBuild
8-transceiver twin of Tcv2SplitBuild.