pub struct W(_);
Expand description

Register CINSTRCONF writer

Implementations

Bits 0:7 - Opcode of Custom instruction.

Bits 8:11 - Length of custom instruction in number of bytes.

Bit 12 - Level of the IO2 pin (if connected) during transmission of custom instruction.

Bit 13 - Level of the IO3 pin (if connected) during transmission of custom instruction.

Bit 14 - Wait for write complete before sending command.

Bit 15 - Send WREN (write enable opcode 0x06) before instruction.

Bit 16 - Enable long frame mode. When enabled, a custom instruction transaction has to be ended by writing the LFSTOP field.

Bit 17 - Stop (finalize) long frame transaction

Writes raw bits to the register.

Methods from Deref<Target = W<CINSTRCONF_SPEC>>

Writes raw bits to the register.

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Converts to this type from the input type.

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.