Expand description
Serial Audio Interface (SAI)
Re-exports§
- pub use crate::dma::word;
Structs§
Enums§
- A
- Sub-block A.
- B
- Sub-block B.
- BitOrder
- Bit order
- ClockStrobe 
- Clock strobe.
- Companding
- Companding setting.
- ComplementFormat 
- Complements format for negative samples.
- DataSize 
- Data size.
- Error
- SAI error
- FifoThreshold 
- FIFO threshold level.
- FrameSync Definition 
- Sync definition.
- FrameSync Offset 
- Frame sync offset.
- FrameSync Polarity 
- Frame sync polarity
- MasterClock Divider 
- Master clock divider.
- Mode
- Master/slave mode.
- MuteValue 
- Output value on mute.
- OutputDrive 
- Output drive
- Protocol
- Protocol variant to use.
- SlotSize 
- Data slot size.
- StereoMono 
- Channels (stereo or mono).
- SyncInput 
- Sync input between SAI units/blocks.
- TxRx
- Direction: transmit or receive
Traits§
- Dma
- Dma DMA request trait
- FsPin
- FsPin pin trait
- Instance
- SAI instance trait.
- MclkPin
- MclkPin pin trait
- SckPin
- SckPin pin trait
- SdPin
- SdPin pin trait
- SubBlockInstance 
- Sub-block instance trait.
Functions§
- split_subblocks 
- Split the main SAIx peripheral into the two subblocks.