Struct rp_pac::i2c::regs::IcClrStopDet
source · #[repr(transparent)]pub struct IcClrStopDet(pub u32);
Expand description
Clear STOP_DET Interrupt Register
Tuple Fields§
§0: u32
Implementations§
source§impl IcClrStopDet
impl IcClrStopDet
sourcepub const fn clr_stop_det(&self) -> bool
pub const fn clr_stop_det(&self) -> bool
Read this register to clear the STOP_DET interrupt (bit 9) of the IC_RAW_INTR_STAT register. Reset value: 0x0
sourcepub fn set_clr_stop_det(&mut self, val: bool)
pub fn set_clr_stop_det(&mut self, val: bool)
Read this register to clear the STOP_DET interrupt (bit 9) of the IC_RAW_INTR_STAT register. Reset value: 0x0
Trait Implementations§
source§impl Clone for IcClrStopDet
impl Clone for IcClrStopDet
source§fn clone(&self) -> IcClrStopDet
fn clone(&self) -> IcClrStopDet
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for IcClrStopDet
impl Default for IcClrStopDet
source§fn default() -> IcClrStopDet
fn default() -> IcClrStopDet
Returns the “default value” for a type. Read more
source§impl PartialEq for IcClrStopDet
impl PartialEq for IcClrStopDet
impl Copy for IcClrStopDet
impl Eq for IcClrStopDet
impl StructuralPartialEq for IcClrStopDet
Auto Trait Implementations§
impl Freeze for IcClrStopDet
impl RefUnwindSafe for IcClrStopDet
impl Send for IcClrStopDet
impl Sync for IcClrStopDet
impl Unpin for IcClrStopDet
impl UnwindSafe for IcClrStopDet
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)