[][src]Struct esp32::rtc_i2c::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub scl_low_period: SCL_LOW_PERIOD,
    pub ctrl: CTRL,
    pub debug_status: DEBUG_STATUS,
    pub timeout: TIMEOUT,
    pub slave_addr: SLAVE_ADDR,
    pub int_raw: INT_RAW,
    pub int_clr: INT_CLR,
    pub sda_duty: SDA_DUTY,
    pub scl_high_period: SCL_HIGH_PERIOD,
    pub scl_start_period: SCL_START_PERIOD,
    pub scl_stop_period: SCL_STOP_PERIOD,
    // some fields omitted
}

Register block

Fields

scl_low_period: SCL_LOW_PERIOD

0x00 - RTC_I2C_SCL_LOW_PERIOD

ctrl: CTRL

0x04 - RTC_I2C_CTRL

debug_status: DEBUG_STATUS

0x08 - RTC_I2C_DEBUG_STATUS

timeout: TIMEOUT

0x0c - RTC_I2C_TIMEOUT

slave_addr: SLAVE_ADDR

0x10 - RTC_I2C_SLAVE_ADDR

int_raw: INT_RAW

0x20 - RTC_I2C_INT_RAW

int_clr: INT_CLR

0x24 - RTC_I2C_INT_CLR

sda_duty: SDA_DUTY

0x30 - RTC_I2C_SDA_DUTY

scl_high_period: SCL_HIGH_PERIOD

0x38 - RTC_I2C_SCL_HIGH_PERIOD

scl_start_period: SCL_START_PERIOD

0x40 - RTC_I2C_SCL_START_PERIOD

scl_stop_period: SCL_STOP_PERIOD

0x44 - RTC_I2C_SCL_STOP_PERIOD

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.