Struct stm32f030_hal::stm32::spi1::cr1::W

source ·
pub struct W { /* private fields */ }
Expand description

Value to write to the register

Implementations

Reset value of the register

Writes raw bits to the register

Bit 15 - Bidirectional data mode enable

Bit 14 - Output enable in bidirectional mode

Bit 13 - Hardware CRC calculation enable

Bit 12 - CRC transfer next

Bit 11 - Data frame format

Bit 10 - Receive only

Bit 9 - Software slave management

Bit 8 - Internal slave select

Bit 7 - Frame format

Bit 6 - SPI enable

Bits 3:5 - Baud rate control

Bit 2 - Master selection

Bit 1 - Clock polarity

Bit 0 - Clock phase

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.

Should always be Self
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.