W

Type Alias W 

Source
pub type W = W<u32, CR2>;
Expand description

Writer for register CR2

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn rxdmaen(&mut self) -> RXDMAEN_W<'_>

Bit 0 - Rx buffer DMA enable

Source

pub fn txdmaen(&mut self) -> TXDMAEN_W<'_>

Bit 1 - Tx buffer DMA enable

Source

pub fn ssoe(&mut self) -> SSOE_W<'_>

Bit 2 - SS output enable

Source

pub fn nssp(&mut self) -> NSSP_W<'_>

Bit 3 - NSS pulse management

Source

pub fn frf(&mut self) -> FRF_W<'_>

Bit 4 - Frame format

Source

pub fn errie(&mut self) -> ERRIE_W<'_>

Bit 5 - Error interrupt enable

Source

pub fn rxneie(&mut self) -> RXNEIE_W<'_>

Bit 6 - RX buffer not empty interrupt enable

Source

pub fn txeie(&mut self) -> TXEIE_W<'_>

Bit 7 - Tx buffer empty interrupt enable

Source

pub fn ds(&mut self) -> DS_W<'_>

Bits 8:11 - Data size

Source

pub fn frxth(&mut self) -> FRXTH_W<'_>

Bit 12 - FIFO reception threshold

Source

pub fn ldma_rx(&mut self) -> LDMA_RX_W<'_>

Bit 13 - Last DMA transfer for reception

Source

pub fn ldma_tx(&mut self) -> LDMA_TX_W<'_>

Bit 14 - Last DMA transfer for transmission