Struct esp32_hal::pac::rtc_i2c::debug_status::R
pub struct R(_);
Expand description
Register DEBUG_STATUS
reader
Implementations§
§impl R
impl R
pub fn slave_rw(&self) -> BitReaderRaw<bool>
pub fn slave_rw(&self) -> BitReaderRaw<bool>
Bit 1 - When working as a slave, the value of R/W bit received
pub fn arb_lost(&self) -> BitReaderRaw<bool>
pub fn arb_lost(&self) -> BitReaderRaw<bool>
Bit 3 - When working as a master, lost control of I2C bus
pub fn slave_addr_match(&self) -> BitReaderRaw<bool>
pub fn slave_addr_match(&self) -> BitReaderRaw<bool>
Bit 5 - When working as a slave, whether address was matched
pub fn byte_trans(&self) -> BitReaderRaw<bool>
pub fn byte_trans(&self) -> BitReaderRaw<bool>
Bit 6 - 8 bit transmit done
pub fn main_state(&self) -> FieldReaderRaw<u8, u8>
pub fn main_state(&self) -> FieldReaderRaw<u8, u8>
Bits 25:27 - state of the main state machine
Methods from Deref<Target = R<DEBUG_STATUS_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<DEBUG_STATUS_SPEC>> for R
impl From<R<DEBUG_STATUS_SPEC>> for R
§fn from(reader: R<DEBUG_STATUS_SPEC>) -> R
fn from(reader: R<DEBUG_STATUS_SPEC>) -> R
Converts to this type from the input type.