[][src]Struct stm32l4xx_hal::stm32::spi1::cr2::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn rxdmaen(&self) -> RXDMAENR[src]

Bit 0 - Rx buffer DMA enable

pub fn txdmaen(&self) -> TXDMAENR[src]

Bit 1 - Tx buffer DMA enable

pub fn ssoe(&self) -> SSOER[src]

Bit 2 - SS output enable

pub fn nssp(&self) -> NSSPR[src]

Bit 3 - NSS pulse management

pub fn frf(&self) -> FRFR[src]

Bit 4 - Frame format

pub fn errie(&self) -> ERRIER[src]

Bit 5 - Error interrupt enable

pub fn rxneie(&self) -> RXNEIER[src]

Bit 6 - RX buffer not empty interrupt enable

pub fn txeie(&self) -> TXEIER[src]

Bit 7 - Tx buffer empty interrupt enable

pub fn ds(&self) -> DSR[src]

Bits 8:11 - Data size

pub fn frxth(&self) -> FRXTHR[src]

Bit 12 - FIFO reception threshold

pub fn ldma_rx(&self) -> LDMA_RXR[src]

Bit 13 - Last DMA transfer for reception

pub fn ldma_tx(&self) -> LDMA_TXR[src]

Bit 14 - Last DMA transfer for transmission

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self