[][src]Struct msp432e4::i2c0::mcs::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 i2c_mcs_run(&mut self) -> _I2C_MCS_RUNW[src]

Bit 0 - I2C Master Enable

pub fn i2c_mcs_start(&mut self) -> _I2C_MCS_STARTW[src]

Bit 1 - Generate START

pub fn i2c_mcs_ack(&mut self) -> _I2C_MCS_ACKW[src]

Bit 3 - Data Acknowledge Enable

pub fn i2c_mcs_burst(&mut self) -> _I2C_MCS_BURSTW[src]

Bit 6 - Burst Enable

pub fn i2c_mcs_stop(&mut self) -> _I2C_MCS_STOPW[src]

Bit 2 - Generate STOP

pub fn i2c_mcs_hs(&mut self) -> _I2C_MCS_HSW[src]

Bit 4 - High-Speed Enable

pub fn i2c_mcs_qcmd(&mut self) -> _I2C_MCS_QCMDW[src]

Bit 5 - Quick Command

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