Type Alias R

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

Register CR2 reader

Aliased Type§

pub 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 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

Trait Implementations§

Source§

impl Debug for R

Source§

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

Formats the value using the given formatter. Read more