Type Alias R

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

Register CFG1 reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn dsize(&self) -> DSIZE_R

Bits 0:4 - number of bits in a single SPI data frame

Source

pub fn fthlv(&self) -> FTHLV_R

Bits 5:8 - FIFO threshold level

Source

pub fn udrcfg(&self) -> UDRCFG_R

Bit 9 - behavior of slave transmitter at underrun condition

Source

pub fn rxdmaen(&self) -> RXDMAEN_R

Bit 14 - Rx DMA stream enable

Source

pub fn txdmaen(&self) -> TXDMAEN_R

Bit 15 - Tx DMA stream enable

Source

pub fn crcsize(&self) -> CRCSIZE_R

Bits 16:20 - length of CRC frame to be transacted and compared

Source

pub fn crcen(&self) -> CRCEN_R

Bit 22 - hardware CRC computation enable

Source

pub fn mbr(&self) -> MBR_R

Bits 28:30 - master baud rate prescaler setting

Source

pub fn bpass(&self) -> BPASS_R

Bit 31 - bypass of the prescaler at master baud rate clock generator

Trait Implementations§

Source§

impl Debug for R

Source§

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

Formats the value using the given formatter. Read more