pub type R = R<STATUS_SPEC>;
Expand description
Register STATUS
reader
Aliased Type§
pub struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn slave_rw(&self) -> SLAVE_RW_R
pub fn slave_rw(&self) -> SLAVE_RW_R
Bit 1 - 0: master writes to slave. 1: master reads from slave.
Sourcepub fn arb_lost(&self) -> ARB_LOST_R
pub fn arb_lost(&self) -> ARB_LOST_R
Bit 2 - When the RTC I2C loses control of SCL line, the register changes to 1.
Sourcepub fn bus_busy(&self) -> BUS_BUSY_R
pub fn bus_busy(&self) -> BUS_BUSY_R
Bit 3 - 0: RTC I2C bus is in idle state. 1: RTC I2C bus is busy transferring data.
Sourcepub fn slave_addressed(&self) -> SLAVE_ADDRESSED_R
pub fn slave_addressed(&self) -> SLAVE_ADDRESSED_R
Bit 4 - When the address sent by the master matches the address of the slave, then this bit will be set.
Sourcepub fn byte_trans(&self) -> BYTE_TRANS_R
pub fn byte_trans(&self) -> BYTE_TRANS_R
Bit 5 - This field changes to 1 when one byte is transferred.
Sourcepub fn scl_main_state_last(&self) -> SCL_MAIN_STATE_LAST_R
pub fn scl_main_state_last(&self) -> SCL_MAIN_STATE_LAST_R
Bits 24:26 - i2c last main status
Sourcepub fn scl_state_last(&self) -> SCL_STATE_LAST_R
pub fn scl_state_last(&self) -> SCL_STATE_LAST_R
Bits 28:30 - scl last status