Enum nrf52840_hal::pac::qspi::cinstrconf::LENGTH_A[][src]

#[repr(u8)]
pub enum LENGTH_A {
    _1B,
    _2B,
    _3B,
    _4B,
    _5B,
    _6B,
    _7B,
    _8B,
    _9B,
}
Expand description

Length of custom instruction in number of bytes.

Value on reset: 0

Variants

_1B

1: Send opcode only.

_2B

2: Send opcode, CINSTRDAT0.BYTE0.

_3B

3: Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT0.BYTE1.

_4B

4: Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT0.BYTE2.

_5B

5: Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT0.BYTE3.

_6B

6: Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE4.

_7B

7: Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE5.

_8B

8: Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE6.

_9B

9: Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE7.

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

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

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Casts the value.

Should always be Self

Casts the value.

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.

Casts the value.

Casts the value.