[][src]Struct stm32f3::stm32f303::spi1::cr2::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[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 Unpin for W

impl Sync for W

impl Send for W

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self