Module embassy_stm32::sai
source · Expand description
Serial Audio Interface (SAI)
Re-exports
pub use crate::dma::word;
Structs
- [
SAI
] configuration. - SAI sub-block driver.
- SAI subblock instance.
Enums
- Sub-block A.
- Sub-block B.
- Bit order
- Clock strobe.
- Companding setting.
- Complements format for negative samples.
- Data size.
- SAI error
- FIFO threshold level.
- Sync definition.
- Frame sync offset.
- Frame sync polarity
- Master clock divider.
- Master/slave mode.
- Output value on mute.
- Output drive
- Protocol variant to use.
- Data slot size.
- Channels (stereo or mono).
- Sync input between SAI units/blocks.
- Direction: transmit or receive
Traits
- Dma DMA request trait
- FsPin pin trait
- SAI instance trait.
- MclkPin pin trait
- SckPin pin trait
- SdPin pin trait
- Sub-block instance trait.
Functions
- Split the main SAIx peripheral into the two subblocks.