Type Alias esp32s3_ulp::rtc_i2c::status::R

source ·
pub type R = R<STATUS_SPEC>;
Expand description

Register STATUS reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn ack_rec(&self) -> ACK_REC_R

Bit 0 - ack response

source

pub fn slave_rw(&self) -> SLAVE_RW_R

Bit 1 - slave read or write

source

pub fn arb_lost(&self) -> ARB_LOST_R

Bit 2 - arbitration is lost

source

pub fn bus_busy(&self) -> BUS_BUSY_R

Bit 3 - bus is busy

source

pub fn slave_addressed(&self) -> SLAVE_ADDRESSED_R

Bit 4 - slave reg sub address

source

pub fn byte_trans(&self) -> BYTE_TRANS_R

Bit 5 - One byte transit done

source

pub fn op_cnt(&self) -> OP_CNT_R

Bits 6:7 - which operation is working

source

pub fn shift(&self) -> SHIFT_R

Bits 16:23 - shifter content

source

pub fn scl_main_state_last(&self) -> SCL_MAIN_STATE_LAST_R

Bits 24:26 - i2c last main status

source

pub fn scl_state_last(&self) -> SCL_STATE_LAST_R

Bits 28:30 - scl last status