Struct esp32::rtc_i2c::debug_status::W
source · pub struct W(_);
Expand description
Register DEBUG_STATUS
writer
Implementations§
source§impl W
impl W
sourcepub fn ack_val(&mut self) -> ACK_VAL_W<'_, 0>
pub fn ack_val(&mut self) -> ACK_VAL_W<'_, 0>
Bit 0 - The value of an acknowledge signal on the bus
sourcepub fn slave_rw(&mut self) -> SLAVE_RW_W<'_, 1>
pub fn slave_rw(&mut self) -> SLAVE_RW_W<'_, 1>
Bit 1 - When working as a slave, the value of R/W bit received
sourcepub fn timed_out(&mut self) -> TIMED_OUT_W<'_, 2>
pub fn timed_out(&mut self) -> TIMED_OUT_W<'_, 2>
Bit 2 - Transfer has timed out
sourcepub fn arb_lost(&mut self) -> ARB_LOST_W<'_, 3>
pub fn arb_lost(&mut self) -> ARB_LOST_W<'_, 3>
Bit 3 - When working as a master, lost control of I2C bus
sourcepub fn bus_busy(&mut self) -> BUS_BUSY_W<'_, 4>
pub fn bus_busy(&mut self) -> BUS_BUSY_W<'_, 4>
Bit 4 - operation is in progress
sourcepub fn slave_addr_match(&mut self) -> SLAVE_ADDR_MATCH_W<'_, 5>
pub fn slave_addr_match(&mut self) -> SLAVE_ADDR_MATCH_W<'_, 5>
Bit 5 - When working as a slave, whether address was matched
sourcepub fn byte_trans(&mut self) -> BYTE_TRANS_W<'_, 6>
pub fn byte_trans(&mut self) -> BYTE_TRANS_W<'_, 6>
Bit 6 - 8 bit transmit done
sourcepub fn main_state(&mut self) -> MAIN_STATE_W<'_, 25>
pub fn main_state(&mut self) -> MAIN_STATE_W<'_, 25>
Bits 25:27 - state of the main state machine
sourcepub fn scl_state(&mut self) -> SCL_STATE_W<'_, 28>
pub fn scl_state(&mut self) -> SCL_STATE_W<'_, 28>
Bits 28:30 - state of SCL state machine
Methods from Deref<Target = W<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