#[repr(u8)]
pub enum LEN_A {
Show 16 variants LEN_0, LEN_1, LEN_2, LEN_3, LEN_4, LEN_5, LEN_6, LEN_7, LEN_8, LEN_9, LEN_10, LEN_11, LEN_12, LEN_13, LEN_14, LEN_15,
}
Expand description

Data Length. Specifies the data length from 1 to 16 bits. Note that transfer lengths greater than 16 bits are supported by implementing multiple sequential transmits. 0x0 = Data transfer is 1 bit in length. 0x1 = Data transfer is 2 bits in length. 0x2 = Data transfer is 3 bits in length. … 0xF = Data transfer is 16 bits in length.

Value on reset: 0

Variants§

§

LEN_0

0: no description available

§

LEN_1

1: Data transfer is 1 bit in length.

§

LEN_2

2: Data transfer is 2 bit in length.

§

LEN_3

3: Data transfer is 3 bit in length.

§

LEN_4

4: Data transfer is 4 bit in length.

§

LEN_5

5: Data transfer is 5 bit in length.

§

LEN_6

6: Data transfer is 6 bit in length.

§

LEN_7

7: Data transfer is 7 bit in length.

§

LEN_8

8: Data transfer is 8 bit in length.

§

LEN_9

9: Data transfer is 9 bit in length.

§

LEN_10

10: Data transfer is 10 bit in length.

§

LEN_11

11: Data transfer is 11 bit in length.

§

LEN_12

12: Data transfer is 12 bit in length.

§

LEN_13

13: Data transfer is 13 bit in length.

§

LEN_14

14: Data transfer is 14 bit in length.

§

LEN_15

15: Data transfer is 15 bit in length.

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 !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. 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

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.