Type Alias R

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

Register CR2 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn rxdmaen(&self) -> RXDMAEN_R

Bit 0 - Rx buffer DMA enable

Source

pub fn txdmaen(&self) -> TXDMAEN_R

Bit 1 - Tx buffer DMA enable

Source

pub fn ssoe(&self) -> SSOE_R

Bit 2 - SS output enable

Source

pub fn nssp(&self) -> NSSP_R

Bit 3 - NSS pulse management

Source

pub fn frf(&self) -> FRF_R

Bit 4 - Frame format

Source

pub fn errie(&self) -> ERRIE_R

Bit 5 - Error interrupt enable

Source

pub fn rxneie(&self) -> RXNEIE_R

Bit 6 - RX buffer not empty interrupt enable

Source

pub fn txeie(&self) -> TXEIE_R

Bit 7 - Tx buffer empty interrupt enable

Source

pub fn ds(&self) -> DS_R

Bits 8:11 - Data size

Source

pub fn frxth(&self) -> FRXTH_R

Bit 12 - FIFO reception threshold

Source

pub fn ldma_rx(&self) -> LDMA_RX_R

Bit 13 - Last DMA transfer for reception

Source

pub fn ldma_tx(&self) -> LDMA_TX_R

Bit 14 - Last DMA transfer for transmission

Trait Implementations§

Source§

impl Debug for R

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more