[][src]Struct cc13x2_cc26x2_hal::i2c0::mctrl::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn reserved4(&self) -> RESERVED4R[src]

Bits 4:31 - 31:4] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.

pub fn ack(&self) -> ACKR[src]

Bit 3 - 3:3] Data acknowledge enable 0: The received data byte is not acknowledged automatically by the master. 1: The received data byte is acknowledged automatically by the master. This bit-field must be cleared when the I2C bus controller requires no further data to be transmitted from the slave transmitter.

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

Bit 2 - 2:2] This bit-field determines if the cycle stops at the end of the data cycle or continues on to a repeated START condition. 0: The controller does not generate the Stop condition. 1: The controller generates the Stop condition.

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

Bit 1 - 1:1] This bit-field generates the Start or Repeated Start condition. 0: The controller does not generate the Start condition. 1: The controller generates the Start condition.

pub fn run(&self) -> RUNR[src]

Bit 0 - 0:0] I2C master enable 0: The master is disabled. 1: The master is enabled to transmit or receive data.

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

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> From for T[src]

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]

impl<T> Same for T

type Output = T

Should always be Self