pub struct W(_);
Expand description

Register CR_SPI_MODE writer

Implementations§

Bit 2 - Reset Receiver

Bit 3 - Reset Transmitter

Bit 4 - Receiver Enable

Bit 5 - Receiver Disable

Bit 6 - Transmitter Enable

Bit 7 - Transmitter Disable

Bit 8 - Reset Status Bits

Bit 18 - Force SPI Chip Select

Bit 19 - Release SPI Chip Select

Writes raw bits to the register.

Methods from Deref<Target = W<SPI_MODE_CR_SPI_MODE_SPEC>>§

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

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.