[][src]Struct sam3x8e::twi0::cr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn start(&mut self) -> _STARTW[src]

Bit 0 - Send a START Condition

pub fn stop(&mut self) -> _STOPW[src]

Bit 1 - Send a STOP Condition

pub fn msen(&mut self) -> _MSENW[src]

Bit 2 - TWI Master Mode Enabled

pub fn msdis(&mut self) -> _MSDISW[src]

Bit 3 - TWI Master Mode Disabled

pub fn sven(&mut self) -> _SVENW[src]

Bit 4 - TWI Slave Mode Enabled

pub fn svdis(&mut self) -> _SVDISW[src]

Bit 5 - TWI Slave Mode Disabled

pub fn quick(&mut self) -> _QUICKW[src]

Bit 6 - SMBUS Quick Command

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

Bit 7 - Software Reset

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

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]