Struct stm32_hal2::sai::SaiConfig [−][src]
pub struct SaiConfig {
pub mode: SaiMode,
pub protocol: Protocol,
pub mono: Mono,
pub sync: SyncMode,
pub datasize: DataSize,
pub frame_length: u8,
pub master_clock: MasterClock,
}Fields
mode: SaiModeprotocol: Protocolmono: Monosync: SyncModeAn audio subblock can be configured to operate synchronously with the second audio subblock in the same SAI. In this case, the bit clock and the frame synchronization signals are shared to reduce the number of external pins used for the communication.
datasize: DataSizeframe_length: u8master_clock: MasterClock