[][src]Type Definition betrusted_pac::i2c::status::W

type W = W<u32, STATUS>;

Writer for register STATUS

Methods

impl W[src]

pub fn if_(&mut self) -> IF_W[src]

Bit 0 - Interrupt flag, This bit is set when an interrupt is pending, which will cause a processor interrupt request if the IEN bit is set. The Interrupt Flag is set upon the completion of one byte of data transfer.

pub fn tip(&mut self) -> TIP_W[src]

Bit 1 - transfer in progress

pub fn resvd(&mut self) -> RESVD_W[src]

Bits 2:4 - reserved for cross-compatibility with OpenCores drivers

pub fn arb_lost(&mut self) -> ARBLOST_W[src]

Bit 5 - Set when arbitration for the bus is lost

pub fn busy(&mut self) -> BUSY_W[src]

Bit 6 - I2C block is busy processing the latest command

pub fn rx_ack(&mut self) -> RXACK_W[src]

Bit 7 - Received acknowledge from slave. 1 = no ack received, 0 = ack received