[][src]Type Definition stm32f3::stm32f3x8::spi1::cr2::W

type W = W<u32, CR2>;

Writer for register CR2

Methods

impl W[src]

pub fn rxdmaen(&mut self) -> RXDMAEN_W[src]

Bit 0 - Rx buffer DMA enable

pub fn txdmaen(&mut self) -> TXDMAEN_W[src]

Bit 1 - Tx buffer DMA enable

pub fn ssoe(&mut self) -> SSOE_W[src]

Bit 2 - SS output enable

pub fn nssp(&mut self) -> NSSP_W[src]

Bit 3 - NSS pulse management

pub fn frf(&mut self) -> FRF_W[src]

Bit 4 - Frame format

pub fn errie(&mut self) -> ERRIE_W[src]

Bit 5 - Error interrupt enable

pub fn rxneie(&mut self) -> RXNEIE_W[src]

Bit 6 - RX buffer not empty interrupt enable

pub fn txeie(&mut self) -> TXEIE_W[src]

Bit 7 - Tx buffer empty interrupt enable

pub fn ds(&mut self) -> DS_W[src]

Bits 8:11 - Data size

pub fn frxth(&mut self) -> FRXTH_W[src]

Bit 12 - FIFO reception threshold

pub fn ldma_rx(&mut self) -> LDMA_RX_W[src]

Bit 13 - Last DMA transfer for reception

pub fn ldma_tx(&mut self) -> LDMA_TX_W[src]

Bit 14 - Last DMA transfer for transmission