[][src]Struct atsams70j21b::usart0::us_mr_spi_mode::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 usart_mode(&mut self) -> _USART_MODEW[src]

Bits 0:3 - USART Mode of Operation

pub fn usclks(&mut self) -> _USCLKSW[src]

Bits 4:5 - Clock Selection

pub fn chrl(&mut self) -> _CHRLW[src]

Bits 6:7 - Character Length

pub fn clko(&mut self) -> _CLKOW[src]

Bit 18 - Clock Output Select

pub fn cpha(&mut self) -> _CPHAW[src]

Bit 8 - SPI Clock Phase

pub fn cpol(&mut self) -> _CPOLW[src]

Bit 16 - SPI Clock Polarity

pub fn wrdbt(&mut self) -> _WRDBTW[src]

Bit 20 - Wait Read Data Before Transfer

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