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: SyncMode

An 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

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.