Struct stm32_metapac::i2c::regs::Timeoutr
#[repr(transparent)]pub struct Timeoutr(pub u32);
Expand description
Timeout register
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Timeoutr
impl Timeoutr
pub fn set_timeouta(&mut self, val: u16)
pub fn set_timeouta(&mut self, val: u16)
Bus timeout A
pub fn set_timouten(&mut self, val: bool)
pub fn set_timouten(&mut self, val: bool)
Clock timeout enable
pub fn set_timeoutb(&mut self, val: u16)
pub fn set_timeoutb(&mut self, val: u16)
Bus timeout B
pub fn set_texten(&mut self, val: bool)
pub fn set_texten(&mut self, val: bool)
Extended clock timeout enable
Trait Implementationsยง
ยงimpl PartialEq for Timeoutr
impl PartialEq for Timeoutr
impl Copy for Timeoutr
impl Eq for Timeoutr
impl StructuralEq for Timeoutr
impl StructuralPartialEq for Timeoutr
Auto Trait Implementationsยง
impl RefUnwindSafe for Timeoutr
impl Send for Timeoutr
impl Sync for Timeoutr
impl Unpin for Timeoutr
impl UnwindSafe for Timeoutr
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