pub type W = W<DEBUG_STATUS_SPEC>;Expand description
Register DEBUG_STATUS writer
Aliased Type§
struct W { /* private fields */ }Implementations§
Source§impl W
impl W
Sourcepub fn ack_val(&mut self) -> ACK_VAL_W<'_, DEBUG_STATUS_SPEC>
pub fn ack_val(&mut self) -> ACK_VAL_W<'_, DEBUG_STATUS_SPEC>
Bit 0 - The value of an acknowledge signal on the bus
Sourcepub fn slave_rw(&mut self) -> SLAVE_RW_W<'_, DEBUG_STATUS_SPEC>
pub fn slave_rw(&mut self) -> SLAVE_RW_W<'_, DEBUG_STATUS_SPEC>
Bit 1 - When working as a slave, the value of R/W bit received
Sourcepub fn timed_out(&mut self) -> TIMED_OUT_W<'_, DEBUG_STATUS_SPEC>
pub fn timed_out(&mut self) -> TIMED_OUT_W<'_, DEBUG_STATUS_SPEC>
Bit 2 - Transfer has timed out
Sourcepub fn arb_lost(&mut self) -> ARB_LOST_W<'_, DEBUG_STATUS_SPEC>
pub fn arb_lost(&mut self) -> ARB_LOST_W<'_, DEBUG_STATUS_SPEC>
Bit 3 - When working as a master, lost control of I2C bus
Sourcepub fn bus_busy(&mut self) -> BUS_BUSY_W<'_, DEBUG_STATUS_SPEC>
pub fn bus_busy(&mut self) -> BUS_BUSY_W<'_, DEBUG_STATUS_SPEC>
Bit 4 - operation is in progress
Sourcepub fn slave_addr_match(&mut self) -> SLAVE_ADDR_MATCH_W<'_, DEBUG_STATUS_SPEC>
pub fn slave_addr_match(&mut self) -> SLAVE_ADDR_MATCH_W<'_, DEBUG_STATUS_SPEC>
Bit 5 - When working as a slave, whether address was matched
Sourcepub fn byte_trans(&mut self) -> BYTE_TRANS_W<'_, DEBUG_STATUS_SPEC>
pub fn byte_trans(&mut self) -> BYTE_TRANS_W<'_, DEBUG_STATUS_SPEC>
Bit 6 - 8 bit transmit done
Sourcepub fn main_state(&mut self) -> MAIN_STATE_W<'_, DEBUG_STATUS_SPEC>
pub fn main_state(&mut self) -> MAIN_STATE_W<'_, DEBUG_STATUS_SPEC>
Bits 25:27 - state of the main state machine
Sourcepub fn scl_state(&mut self) -> SCL_STATE_W<'_, DEBUG_STATUS_SPEC>
pub fn scl_state(&mut self) -> SCL_STATE_W<'_, DEBUG_STATUS_SPEC>
Bits 28:30 - state of SCL state machine