Struct esp32::rtc_i2c::debug_status::R
source · pub struct R(_);Expand description
Register DEBUG_STATUS reader
Implementations§
source§impl R
impl R
sourcepub fn slave_rw(&self) -> SLAVE_RW_R
pub fn slave_rw(&self) -> SLAVE_RW_R
Bit 1 - When working as a slave, the value of R/W bit received
sourcepub fn timed_out(&self) -> TIMED_OUT_R
pub fn timed_out(&self) -> TIMED_OUT_R
Bit 2 - Transfer has timed out
sourcepub fn arb_lost(&self) -> ARB_LOST_R
pub fn arb_lost(&self) -> ARB_LOST_R
Bit 3 - When working as a master, lost control of I2C bus
sourcepub fn bus_busy(&self) -> BUS_BUSY_R
pub fn bus_busy(&self) -> BUS_BUSY_R
Bit 4 - operation is in progress
sourcepub fn slave_addr_match(&self) -> SLAVE_ADDR_MATCH_R
pub fn slave_addr_match(&self) -> SLAVE_ADDR_MATCH_R
Bit 5 - When working as a slave, whether address was matched
sourcepub fn byte_trans(&self) -> BYTE_TRANS_R
pub fn byte_trans(&self) -> BYTE_TRANS_R
Bit 6 - 8 bit transmit done
sourcepub fn main_state(&self) -> MAIN_STATE_R
pub fn main_state(&self) -> MAIN_STATE_R
Bits 25:27 - state of the main state machine
sourcepub fn scl_state(&self) -> SCL_STATE_R
pub fn scl_state(&self) -> SCL_STATE_R
Bits 28:30 - state of SCL state machine
Methods from Deref<Target = R<DEBUG_STATUS_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more