[][src]Struct k64::i2c0::c1::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u8) -> &mut Self[src]

Writes raw bits to the register

pub fn dmaen(&mut self) -> _DMAENW[src]

Bit 0 - DMA Enable

pub fn wuen(&mut self) -> _WUENW[src]

Bit 1 - Wakeup Enable

pub fn rsta(&mut self) -> _RSTAW[src]

Bit 2 - Repeat START

pub fn txak(&mut self) -> _TXAKW[src]

Bit 3 - Transmit Acknowledge Enable

pub fn tx(&mut self) -> _TXW[src]

Bit 4 - Transmit Mode Select

pub fn mst(&mut self) -> _MSTW[src]

Bit 5 - Master Mode Select

pub fn iicie(&mut self) -> _IICIEW[src]

Bit 6 - I2C Interrupt Enable

pub fn iicen(&mut self) -> _IICENW[src]

Bit 7 - I2C Enable

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 = 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]