[][src]Struct atsams70q19::spi0::spi_cr::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 spien(&mut self) -> _SPIENW[src]

Bit 0 - SPI Enable

pub fn spidis(&mut self) -> _SPIDISW[src]

Bit 1 - SPI Disable

pub fn swrst(&mut self) -> _SWRSTW[src]

Bit 7 - SPI Software Reset

pub fn lastxfer(&mut self) -> _LASTXFERW[src]

Bit 24 - Last Transfer

pub fn reqclr(&mut self) -> _REQCLRW[src]

Bit 12 - Request to Clear the Comparison Trigger

pub fn txfclr(&mut self) -> _TXFCLRW[src]

Bit 16 - Transmit FIFO Clear

pub fn rxfclr(&mut self) -> _RXFCLRW[src]

Bit 17 - Receive FIFO Clear

pub fn fifoen(&mut self) -> _FIFOENW[src]

Bit 30 - FIFO Enable

pub fn fifodis(&mut self) -> _FIFODISW[src]

Bit 31 - FIFO Disable

Auto Trait Implementations

impl Unpin for W

impl Send for W

impl Sync 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