Enum stm32_hal2::sai::SyncMode[][src]

#[repr(u8)]
pub enum SyncMode {
    Async,
    Sync,
    SyncExternal,
}
Expand description

Specify wheather sub-clocks A and B are synchronized. Sets xCR1 register, SYNCEN field.

Variants

Async

Audio sub-block in asynchronous mode

Sync

Audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode

SyncExternal

Audio subblock is synchronous with an external SAI embedded peripheral. In this case the audio subblock should be configured in Slave mode.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. 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.