Struct stm32f30x::spi1::cr2::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 0 - Rx buffer DMA enable

Bit 1 - Tx buffer DMA enable

Bit 2 - SS output enable

Bit 3 - NSS pulse management

Bit 4 - Frame format

Bit 5 - Error interrupt enable

Bit 6 - RX buffer not empty interrupt enable

Bit 7 - Tx buffer empty interrupt enable

Bits 8:11 - Data size

Bit 12 - FIFO reception threshold

Bit 13 - Last DMA transfer for reception

Bit 14 - Last DMA transfer for transmission

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.