[][src]Struct cc2538::I2CS

pub struct I2CS { /* fields omitted */ }

I2C Slave.

Methods

impl I2CS[src]

pub const fn ptr() -> *const RegisterBlock[src]

Returns a pointer to the register block

Methods from Deref<Target = RegisterBlock>

pub fn ctrl(&self) -> &CTRL[src]

0x04 - I2C slave control and status This register functions as a control register when written, and a status register when read.

pub fn ctrl_mut(&self) -> &mut CTRL[src]

0x04 - I2C slave control and status This register functions as a control register when written, and a status register when read.

pub fn stat(&self) -> &STAT[src]

0x04 - I2C slave control and status This register functions as a control register when written, and a status register when read.

pub fn stat_mut(&self) -> &mut STAT[src]

0x04 - I2C slave control and status This register functions as a control register when written, and a status register when read.

Trait Implementations

impl Deref for I2CS[src]

type Target = RegisterBlock

The resulting type after dereferencing.

impl Send for I2CS[src]

Auto Trait Implementations

impl Unpin for I2CS

impl !Sync for I2CS

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<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