[][src]Struct circuit_playground_express::atsamd21g18a::sercom0::spi::ctrla::_MODEW

pub struct _MODEW<'a> { /* fields omitted */ }

Proxy

Methods

impl<'a> _MODEW<'a>[src]

pub fn variant(self, variant: MODEW) -> &'a mut W[src]

Writes variant to the field

pub fn usart_ext_clk(self) -> &'a mut W[src]

USART mode with external clock

pub fn usart_int_clk(self) -> &'a mut W[src]

USART mode with internal clock

pub fn spi_slave(self) -> &'a mut W[src]

SPI mode with external clock

pub fn spi_master(self) -> &'a mut W[src]

SPI mode with internal clock

pub fn i2c_slave(self) -> &'a mut W[src]

I2C mode with external clock

pub fn i2c_master(self) -> &'a mut W[src]

I2C mode with internal clock

pub unsafe fn bits(self, value: u8) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for _MODEW<'a>

impl<'a> Sync for _MODEW<'a>

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

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

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]