[][src]Struct msp430fr2355::e_usci_a0::uca0ctlw0_spi::UCMODE_W

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

Write proxy for field UCMODE

Implementations

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

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

Writes variant to the field

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

3-pin SPI

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

4-pin SPI with UCxSTE active high: Slave enabled when UCxSTE = 1

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

4-pin SPI with UCxSTE active low: Slave enabled when UCxSTE = 0

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

I2C mode

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for UCMODE_W<'a>[src]

impl<'a> !Sync for UCMODE_W<'a>[src]

impl<'a> Unpin for UCMODE_W<'a>[src]

Blanket Implementations

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

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

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

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

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

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> 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.