#[repr(u8)]
pub enum FORMAT_A {
    W32D32,
    W32D24M,
    W32D24,
    W32D16,
    W32D8,
    W16D16,
    W16D8,
    W8D8,
}
Expand description

I2S Word Format

Value on reset: 0

Variants

W32D32

0: 32-bit word, 32-bit data

W32D24M

1: 32-bit word, 32-bit data with 8 lsb masked

W32D24

2: 32-bit word, 24-bit data

W32D16

3: 32-bit word, 16-bit data

W32D8

4: 32-bit word, 8-bit data

W16D16

5: 16-bit word, 16-bit data

W16D8

6: 16-bit word, 8-bit data

W8D8

7: 8-bit word, 8-bit data

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.