[−][src]Struct e310x::I2C0
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.
fn deref(&self) -> &Self::Target
[src]
impl Send for I2C0
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,