[][src]Type Definition esp32::rtc_i2c::rtc_i2c_ctrl_reg::R

type R = R<u32, RTC_I2C_CTRL_REG>;

Reader of register RTC_I2C_CTRL_REG

Methods

impl R[src]

pub fn rtc_i2c_rx_lsb_first(&self) -> RTC_I2C_RX_LSB_FIRST_R[src]

Bit 7 - Receive LSB first

pub fn rtc_i2c_tx_lsb_first(&self) -> RTC_I2C_TX_LSB_FIRST_R[src]

Bit 6 - Send LSB first

pub fn rtc_i2c_trans_start(&self) -> RTC_I2C_TRANS_START_R[src]

Bit 5 - Force to generate start condition

pub fn rtc_i2c_ms_mode(&self) -> RTC_I2C_MS_MODE_R[src]

Bit 4 - Master (1) or slave (0)

pub fn rtc_i2c_scl_force_out(&self) -> RTC_I2C_SCL_FORCE_OUT_R[src]

Bit 1 - SCL is push-pull (1) or open-drain (0)

pub fn rtc_i2c_sda_force_out(&self) -> RTC_I2C_SDA_FORCE_OUT_R[src]

Bit 0 - SDA is push-pull (1) or open-drain (0)