Type Alias W

Source
pub type W = W<CR2rs>;
Expand description

Register CR2 writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

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

Bit 0 - Rx buffer DMA enable

Source

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

Bit 1 - Tx buffer DMA enable

Source

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

Bit 2 - SS output enable

Source

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

Bit 5 - Error interrupt enable

Source

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

Bit 6 - RX buffer not empty interrupt enable

Source

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

Bit 7 - Tx buffer empty interrupt enable