Enum nucleo_h7xx::pac::sai4::ch::cr1::SAIEN_A[]

pub enum SAIEN_A {
    DISABLED,
    ENABLED,
}

Audio block enable where x is A or B. This bit is set by software. To switch off the audio block, the application software must program this bit to 0 and poll the bit till it reads back 0, meaning that the block is completely disabled. Before setting this bit to 1, check that it is set to 0, otherwise the enable command will not be taken into account. This bit allows to control the state of SAIx audio block. If it is disabled when an audio frame transfer is ongoing, the ongoing transfer completes and the cell is fully disabled at the end of this audio frame transfer. Note: When SAIx block is configured in master mode, the clock must be present on the input of SAIx before setting SAIXEN bit.

Value on reset: 0

Variants

DISABLED

0: SAI audio block disabled

ENABLED

1: SAI audio block enabled

Trait Implementations

impl Clone for SAIEN_A

impl Copy for SAIEN_A

impl Debug for SAIEN_A

impl PartialEq<SAIEN_A> for SAIEN_A

impl StructuralPartialEq for SAIEN_A

Auto Trait Implementations

impl Send for SAIEN_A

impl Sync for SAIEN_A

impl Unpin for SAIEN_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.