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 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