#[repr(transparent)]pub struct Slvadr1(pub u32);Expand description
Slave address register.
Tuple Fields§
§0: u32Implementations§
Source§impl Slvadr1
impl Slvadr1
Sourcepub const fn sadisable(&self) -> Slvadr1Sadisable
pub const fn sadisable(&self) -> Slvadr1Sadisable
Slave Address n Disable.
Sourcepub const fn set_sadisable(&mut self, val: Slvadr1Sadisable)
pub const fn set_sadisable(&mut self, val: Slvadr1Sadisable)
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 Slvadr1
impl Eq for Slvadr1
impl StructuralPartialEq for Slvadr1
Auto Trait Implementations§
impl Freeze for Slvadr1
impl RefUnwindSafe for Slvadr1
impl Send for Slvadr1
impl Sync for Slvadr1
impl Unpin for Slvadr1
impl UnwindSafe for Slvadr1
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