Type Alias W

Source
pub type W = W<DEBUG_STATUS_SPEC>;
Expand description

Register DEBUG_STATUS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn ack_val(&mut self) -> ACK_VAL_W<'_, DEBUG_STATUS_SPEC>

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

Source

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

Source

pub fn timed_out(&mut self) -> TIMED_OUT_W<'_, DEBUG_STATUS_SPEC>

Bit 2 - Transfer has timed out

Source

pub fn arb_lost(&mut self) -> ARB_LOST_W<'_, DEBUG_STATUS_SPEC>

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

Source

pub fn bus_busy(&mut self) -> BUS_BUSY_W<'_, DEBUG_STATUS_SPEC>

Bit 4 - operation is in progress

Source

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

Source

pub fn byte_trans(&mut self) -> BYTE_TRANS_W<'_, DEBUG_STATUS_SPEC>

Bit 6 - 8 bit transmit done

Source

pub fn main_state(&mut self) -> MAIN_STATE_W<'_, DEBUG_STATUS_SPEC>

Bits 25:27 - state of the main state machine

Source

pub fn scl_state(&mut self) -> SCL_STATE_W<'_, DEBUG_STATUS_SPEC>

Bits 28:30 - state of SCL state machine