Type Definition esp32c3::i2c::i2c_sr::R[][src]

type R = R<u32, I2C_SR>;

Reader of register I2C_SR

Implementations

impl R[src]

pub fn i2c_scl_state_last(&self) -> I2C_SCL_STATE_LAST_R[src]

Bits 28:30

pub fn i2c_scl_main_state_last(&self) -> I2C_SCL_MAIN_STATE_LAST_R[src]

Bits 24:26

pub fn i2c_txfifo_cnt(&self) -> I2C_TXFIFO_CNT_R[src]

Bits 18:23

pub fn i2c_stretch_cause(&self) -> I2C_STRETCH_CAUSE_R[src]

Bits 14:15

pub fn i2c_rxfifo_cnt(&self) -> I2C_RXFIFO_CNT_R[src]

Bits 8:13

pub fn i2c_slave_addressed(&self) -> I2C_SLAVE_ADDRESSED_R[src]

Bit 5

pub fn i2c_bus_busy(&self) -> I2C_BUS_BUSY_R[src]

Bit 4

pub fn i2c_arb_lost(&self) -> I2C_ARB_LOST_R[src]

Bit 3

pub fn i2c_slave_rw(&self) -> I2C_SLAVE_RW_R[src]

Bit 1

pub fn i2c_resp_rec(&self) -> I2C_RESP_REC_R[src]

Bit 0