[][src]Type Definition esp32::i2c::sr::R

type R = R<u32, SR>;

Reader of register SR

Implementations

impl R[src]

pub fn scl_state_last(&self) -> SCL_STATE_LAST_R[src]

Bits 28:30

pub fn scl_main_state_last(&self) -> SCL_MAIN_STATE_LAST_R[src]

Bits 24:26

pub fn txfifo_cnt(&self) -> TXFIFO_CNT_R[src]

Bits 18:23

pub fn rxfifo_cnt(&self) -> RXFIFO_CNT_R[src]

Bits 8:13

pub fn byte_trans(&self) -> BYTE_TRANS_R[src]

Bit 6

pub fn slave_addressed(&self) -> SLAVE_ADDRESSED_R[src]

Bit 5

pub fn bus_busy(&self) -> BUS_BUSY_R[src]

Bit 4

pub fn arb_lost(&self) -> ARB_LOST_R[src]

Bit 3

pub fn time_out(&self) -> TIME_OUT_R[src]

Bit 2

pub fn slave_rw(&self) -> SLAVE_RW_R[src]

Bit 1

pub fn ack_rec(&self) -> ACK_REC_R[src]

Bit 0