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

pub struct CPHA_W<'a> { /* fields omitted */ }
Expand description

Field CPHA writer - Clock Phase select.

Implementations

Writes variant to the field

Change. The SPI captures serial data on the first clock transition of the transfer (when the clock changes away from the rest state). Data is changed on the following edge.

Capture. The SPI changes serial data on the first clock transition of the transfer (when the clock changes away from the rest state). Data is captured on the following edge.

Sets the field bit

Clears the field bit

Writes raw bits to the field

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.