[−][src]Type Definition betrusted_pac::i2c::status::R
type R = R<u32, STATUS>;
Reader of register STATUS
Methods
impl R
[src]
pub fn if_(&self) -> IF_R
[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(&self) -> TIP_R
[src]
Bit 1 - transfer in progress
pub fn resvd(&self) -> RESVD_R
[src]
Bits 2:4 - reserved for cross-compatibility with OpenCores drivers
pub fn arb_lost(&self) -> ARBLOST_R
[src]
Bit 5 - Set when arbitration for the bus is lost
pub fn busy(&self) -> BUSY_R
[src]
Bit 6 - I2C block is busy processing the latest command
pub fn rx_ack(&self) -> RXACK_R
[src]
Bit 7 - Received acknowledge from slave. 1 = no ack received, 0 = ack received