Struct stm32l4x6::spi1::cr1::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
fn reset_value() -> W
Reset value of the register
unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
fn bidimode(&mut self) -> _BidimodeW
Bit 15 - Bidirectional data mode enable
fn bidioe(&mut self) -> _BidioeW
Bit 14 - Output enable in bidirectional mode
fn crcen(&mut self) -> _CrcenW
Bit 13 - Hardware CRC calculation enable
fn crcnext(&mut self) -> _CrcnextW
Bit 12 - CRC transfer next
fn dff(&mut self) -> _DffW
Bit 11 - Data frame format
fn rxonly(&mut self) -> _RxonlyW
Bit 10 - Receive only
fn ssm(&mut self) -> _SsmW
Bit 9 - Software slave management
fn ssi(&mut self) -> _SsiW
Bit 8 - Internal slave select
fn lsbfirst(&mut self) -> _LsbfirstW
Bit 7 - Frame format
fn spe(&mut self) -> _SpeW
Bit 6 - SPI enable
fn br(&mut self) -> _BrW
Bits 3:5 - Baud rate control
fn mstr(&mut self) -> _MstrW
Bit 2 - Master selection
fn cpol(&mut self) -> _CpolW
Bit 1 - Clock polarity
fn cpha(&mut self) -> _CphaW
Bit 0 - Clock phase