[][src]Type Definition stm32wb_pac::spi1::cr1::W

type W = W<u32, CR1>;

Writer for register CR1

Implementations

impl W[src]

pub fn bidimode(&mut self) -> BIDIMODE_W<'_>[src]

Bit 15 - Bidirectional data mode enable

pub fn bidioe(&mut self) -> BIDIOE_W<'_>[src]

Bit 14 - Output enable in bidirectional mode

pub fn crcen(&mut self) -> CRCEN_W<'_>[src]

Bit 13 - Hardware CRC calculation enable

pub fn crcnext(&mut self) -> CRCNEXT_W<'_>[src]

Bit 12 - CRC transfer next

pub fn dff(&mut self) -> DFF_W<'_>[src]

Bit 11 - Data frame format

pub fn rxonly(&mut self) -> RXONLY_W<'_>[src]

Bit 10 - Receive only

pub fn ssm(&mut self) -> SSM_W<'_>[src]

Bit 9 - Software slave management

pub fn ssi(&mut self) -> SSI_W<'_>[src]

Bit 8 - Internal slave select

pub fn lsbfirst(&mut self) -> LSBFIRST_W<'_>[src]

Bit 7 - Frame format

pub fn spe(&mut self) -> SPE_W<'_>[src]

Bit 6 - SPI enable

pub fn br(&mut self) -> BR_W<'_>[src]

Bits 3:5 - Baud rate control

pub fn mstr(&mut self) -> MSTR_W<'_>[src]

Bit 2 - Master selection

pub fn cpol(&mut self) -> CPOL_W<'_>[src]

Bit 1 - Clock polarity

pub fn cpha(&mut self) -> CPHA_W<'_>[src]

Bit 0 - Clock phase