Struct esp32c3_hal::pac::i2c0::sr::R
pub struct R(_);
Expand description
Register SR
reader
Implementations
impl R
impl R
pub fn slave_addressed(&self) -> BitReaderRaw<bool>
pub fn slave_addressed(&self) -> BitReaderRaw<bool>
Bit 5 - reg_slave_addressed
pub fn rxfifo_cnt(&self) -> FieldReaderRaw<u8, u8>
pub fn rxfifo_cnt(&self) -> FieldReaderRaw<u8, u8>
Bits 8:13 - reg_rxfifo_cnt
pub fn stretch_cause(&self) -> FieldReaderRaw<u8, u8>
pub fn stretch_cause(&self) -> FieldReaderRaw<u8, u8>
Bits 14:15 - reg_stretch_cause
pub fn txfifo_cnt(&self) -> FieldReaderRaw<u8, u8>
pub fn txfifo_cnt(&self) -> FieldReaderRaw<u8, u8>
Bits 18:23 - reg_txfifo_cnt
pub fn scl_main_state_last(&self) -> FieldReaderRaw<u8, u8>
pub fn scl_main_state_last(&self) -> FieldReaderRaw<u8, u8>
Bits 24:26 - reg_scl_main_state_last
pub fn scl_state_last(&self) -> FieldReaderRaw<u8, u8>
pub fn scl_state_last(&self) -> FieldReaderRaw<u8, u8>
Bits 28:30 - reg_scl_state_last
Methods from Deref<Target = R<SR_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more