#[repr(transparent)]pub struct Slvadr3(pub u32);Expand description
Slave address register.
Tuple Fields§
§0: u32Implementations§
Source§impl Slvadr3
impl Slvadr3
Sourcepub const fn sadisable(&self) -> Slvadr3Sadisable
pub const fn sadisable(&self) -> Slvadr3Sadisable
Slave Address n Disable.
Sourcepub const fn set_sadisable(&mut self, val: Slvadr3Sadisable)
pub const fn set_sadisable(&mut self, val: Slvadr3Sadisable)
Slave Address n Disable.
Sourcepub const fn slvadr(&self) -> u8
pub const fn slvadr(&self) -> u8
Slave Address. Seven bit slave address that is compared to received addresses if enabled.
Sourcepub const fn set_slvadr(&mut self, val: u8)
pub const fn set_slvadr(&mut self, val: u8)
Slave Address. Seven bit slave address that is compared to received addresses if enabled.
Trait Implementations§
impl Copy for Slvadr3
impl Eq for Slvadr3
impl StructuralPartialEq for Slvadr3
Auto Trait Implementations§
impl Freeze for Slvadr3
impl RefUnwindSafe for Slvadr3
impl Send for Slvadr3
impl Sync for Slvadr3
impl Unpin for Slvadr3
impl UnwindSafe for Slvadr3
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