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
- Clock
Strobe - Clock strobe.
- Companding
- Companding setting.
- Complement
Format - Complements format for negative samples.
- Data
Size - Data size.
- Error
- SAI error
- Fifo
Threshold - FIFO threshold level.
- Frame
Sync Definition - Sync definition.
- Frame
Sync Offset - Frame sync offset.
- Frame
Sync Polarity - Frame sync polarity
- Master
Clock Divider - Master clock divider.
- Mode
- Master/slave mode.
- Mute
Value - Output value on mute.
- Output
Drive - Output drive
- Protocol
- Protocol variant to use.
- Slot
Size - Data slot size.
- Stereo
Mono - Channels (stereo or mono).
- Sync
Input - Sync input between SAI units/blocks.
- Sync
Input Instance - SAI instance to sync from.
- 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
- SubBlock
Instance - Sub-block instance trait.
Functions§
- split_
subblocks - Split the main SAIx peripheral into the two subblocks.