Struct stm32_metapac::i2c::regs::Oar1
#[repr(transparent)]pub struct Oar1(pub u32);
Expand description
Own address register 1
Tuple Fields§
§0: u32
Implementations§
§impl Oar1
impl Oar1
pub fn set_oa1mode(&mut self, val: Addmode)
pub fn set_oa1mode(&mut self, val: Addmode)
Own Address 1 10-bit mode
Trait Implementations§
impl Copy for Oar1
impl Eq for Oar1
impl StructuralEq for Oar1
impl StructuralPartialEq for Oar1
Auto Trait Implementations§
impl RefUnwindSafe for Oar1
impl Send for Oar1
impl Sync for Oar1
impl Unpin for Oar1
impl UnwindSafe for Oar1
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