Type Alias esp32::rtc_i2c::debug_status::R

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

Register DEBUG_STATUS reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn ack_val(&self) -> ACK_VAL_R

Bit 0 - The value of an acknowledge signal on the bus

source

pub fn slave_rw(&self) -> SLAVE_RW_R

Bit 1 - When working as a slave, the value of R/W bit received

source

pub fn timed_out(&self) -> TIMED_OUT_R

Bit 2 - Transfer has timed out

source

pub fn arb_lost(&self) -> ARB_LOST_R

Bit 3 - When working as a master, lost control of I2C bus

source

pub fn bus_busy(&self) -> BUS_BUSY_R

Bit 4 - operation is in progress

source

pub fn slave_addr_match(&self) -> SLAVE_ADDR_MATCH_R

Bit 5 - When working as a slave, whether address was matched

source

pub fn byte_trans(&self) -> BYTE_TRANS_R

Bit 6 - 8 bit transmit done

source

pub fn main_state(&self) -> MAIN_STATE_R

Bits 25:27 - state of the main state machine

source

pub fn scl_state(&self) -> SCL_STATE_R

Bits 28:30 - state of SCL state machine