[][src]Struct e310x::I2C0

pub struct I2C0 { /* fields omitted */ }

Inter-Integrated Circuit Master Interface (FE310-G002 only)

Methods

impl I2C0[src]

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

Returns a pointer to the register block

Methods from Deref<Target = RegisterBlock>

pub fn sr(&self) -> &SR[src]

0x10 - Status register

pub fn sr_mut(&self) -> &mut SR[src]

0x10 - Status register

pub fn cr(&self) -> &CR[src]

0x10 - Command register

pub fn cr_mut(&self) -> &mut CR[src]

0x10 - Command register

pub fn cr_sr(&self) -> &CR_SR[src]

0x10 - Command register / Status register

pub fn cr_sr_mut(&self) -> &mut CR_SR[src]

0x10 - Command register / Status register

Trait Implementations

impl Deref for I2C0[src]

type Target = RegisterBlock

The resulting type after dereferencing.

impl Send for I2C0[src]

Auto Trait Implementations

impl !Sync for I2C0

impl Unpin for I2C0

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

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