Struct esp32::i2c0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn scl_low_period(&self) -> &SCL_LOW_PERIOD
pub const fn scl_low_period(&self) -> &SCL_LOW_PERIOD
0x00 -
sourcepub const fn slave_addr(&self) -> &SLAVE_ADDR
pub const fn slave_addr(&self) -> &SLAVE_ADDR
0x10 -
sourcepub const fn int_status(&self) -> &INT_STATUS
pub const fn int_status(&self) -> &INT_STATUS
0x2c -
sourcepub const fn sda_sample(&self) -> &SDA_SAMPLE
pub const fn sda_sample(&self) -> &SDA_SAMPLE
0x34 -
sourcepub const fn scl_high_period(&self) -> &SCL_HIGH_PERIOD
pub const fn scl_high_period(&self) -> &SCL_HIGH_PERIOD
0x38 -
sourcepub const fn scl_start_hold(&self) -> &SCL_START_HOLD
pub const fn scl_start_hold(&self) -> &SCL_START_HOLD
0x40 -
sourcepub const fn scl_rstart_setup(&self) -> &SCL_RSTART_SETUP
pub const fn scl_rstart_setup(&self) -> &SCL_RSTART_SETUP
0x44 -
sourcepub const fn scl_stop_hold(&self) -> &SCL_STOP_HOLD
pub const fn scl_stop_hold(&self) -> &SCL_STOP_HOLD
0x48 -
sourcepub const fn scl_stop_setup(&self) -> &SCL_STOP_SETUP
pub const fn scl_stop_setup(&self) -> &SCL_STOP_SETUP
0x4c -
sourcepub const fn scl_filter_cfg(&self) -> &SCL_FILTER_CFG
pub const fn scl_filter_cfg(&self) -> &SCL_FILTER_CFG
0x50 -
sourcepub const fn sda_filter_cfg(&self) -> &SDA_FILTER_CFG
pub const fn sda_filter_cfg(&self) -> &SDA_FILTER_CFG
0x54 -
sourcepub const fn fifo_start_addr(&self) -> &FIFO_START_ADDR
pub const fn fifo_start_addr(&self) -> &FIFO_START_ADDR
0x100 -
Auto Trait Implementations§
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more