Enum stm32_hal2::spi::DataSize[][src]

#[repr(u8)]
pub enum DataSize {
Show 13 variants D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16,
}
Expand description

These bits configure the data length for SPI transfers. Sets SPI_CR2 register, DS field.

Variants

D4

D5

D6

D7

D8

D9

D10

D11

D12

D13

D14

D15

D16

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.