Struct lpc845_pac::spi0::cfg::W[][src]

pub struct W(_);
Expand description

Register CFG writer

Implementations

Bit 0 - SPI enable.

Bit 2 - Master mode select.

Bit 3 - LSB First mode enable.

Bit 4 - Clock Phase select.

Bit 5 - Clock Polarity select.

Bit 7 - Loopback mode enable. Loopback mode applies only to Master mode, and connects transmit and receive data connected together to allow simple software testing.

Bit 8 - SSEL0 Polarity select.

Bit 9 - SSEL1 Polarity select.

Bit 10 - SSEL2 Polarity select.

Bit 11 - SSEL3 Polarity select.

Writes raw bits to the register.

Methods from Deref<Target = W<CFG_SPEC>>

Writes raw bits to the register.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Performs the conversion.

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.