Struct gd32f1::gd32f130::i2c0::RegisterBlock[][src]

#[repr(C)]pub struct RegisterBlock {
    pub ctl0: CTL0,
    pub ctl1: CTL1,
    pub saddr0: SADDR0,
    pub saddr1: SADDR1,
    pub data: DATA,
    pub stat0: STAT0,
    pub stat1: STAT1,
    pub ckcfg: CKCFG,
    pub rt: RT,
    pub samcs: SAMCS,
    // some fields omitted
}

Register block

Fields

ctl0: CTL0

0x00 - Control register 0

ctl1: CTL1

0x04 - Control register 1

saddr0: SADDR0

0x08 - Own address register 0

saddr1: SADDR1

0x0c - Own address register 1

data: DATA

0x10 - Data register

stat0: STAT0

0x14 - Transfer status register 0

stat1: STAT1

0x18 - Transfer status register 1

ckcfg: CKCFG

0x1c - Clock configure register

rt: RT

0x20 - Rise time register

samcs: SAMCS

0x80 - SAM Controland status register

Auto Trait Implementations

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.