Enum stm32_hal2::sai::FsPolarity[][src]

#[repr(u8)]
pub enum FsPolarity {
    ActiveLow,
    ActiveHigh,
}
Expand description

This bit is set and cleared by software. It is used to configure the level of the start of frame on the FS signal. It is meaningless and is not used in AC’97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled.

Variants

ActiveLow

FS is active low (falling edge)

ActiveHigh

FS is active high (rising edge)

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.