pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn slave_addr(&self) -> &SLAVE_ADDR
pub const fn slave_addr(&self) -> &SLAVE_ADDR
0x10 - configure slave id
Sourcepub const fn scl_start_period(&self) -> &SCL_START_PERIOD
pub const fn scl_start_period(&self) -> &SCL_START_PERIOD
0x1c - configure scl start period
Sourcepub const fn scl_stop_period(&self) -> &SCL_STOP_PERIOD
pub const fn scl_stop_period(&self) -> &SCL_STOP_PERIOD
0x20 - configure scl stop period
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl !Sync for RegisterBlock
impl Send for RegisterBlock
impl Unpin for RegisterBlock
impl UnsafeUnpin 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