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

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]

Writes raw bits to the register

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

Bit 0 - Rx buffer DMA enable

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

Bit 1 - Tx buffer DMA enable

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

Bit 2 - SS output enable

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

Bit 3 - NSS pulse management

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

Bit 4 - Frame format

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

Bit 5 - Error interrupt enable

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

Bit 6 - RX buffer not empty interrupt enable

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

Bit 7 - Tx buffer empty interrupt enable

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

Bits 8:11 - Data size

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

Bit 12 - FIFO reception threshold

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

Bit 13 - Last DMA transfer for reception

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

Bit 14 - Last DMA transfer for transmission

Auto Trait Implementations

impl Send for W

impl Sync for W

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