[][src]Struct atsams70n20b::spi0::spi_csr::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 cpol(&mut self) -> _CPOLW[src]

Bit 0 - Clock Polarity

pub fn ncpha(&mut self) -> _NCPHAW[src]

Bit 1 - Clock Phase

pub fn csnaat(&mut self) -> _CSNAATW[src]

Bit 2 - Chip Select Not Active After Transfer (Ignored if CSAAT = 1)

pub fn csaat(&mut self) -> _CSAATW[src]

Bit 3 - Chip Select Active After Transfer

pub fn bits_(&mut self) -> _BITSW[src]

Bits 4:7 - Bits Per Transfer

pub fn scbr(&mut self) -> _SCBRW[src]

Bits 8:15 - Serial Clock Bit Rate

pub fn dlybs(&mut self) -> _DLYBSW[src]

Bits 16:23 - Delay Before SPCK

pub fn dlybct(&mut self) -> _DLYBCTW[src]

Bits 24:31 - Delay Between Consecutive Transfers

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