Struct rp_pac::i2c::regs::IcClrRestartDet
source · #[repr(transparent)]pub struct IcClrRestartDet(pub u32);
Expand description
Clear RESTART_DET Interrupt Register
Tuple Fields§
§0: u32
Implementations§
source§impl IcClrRestartDet
impl IcClrRestartDet
sourcepub const fn clr_restart_det(&self) -> bool
pub const fn clr_restart_det(&self) -> bool
Read this register to clear the RESTART_DET interrupt (bit 12) of IC_RAW_INTR_STAT register. Reset value: 0x0
sourcepub fn set_clr_restart_det(&mut self, val: bool)
pub fn set_clr_restart_det(&mut self, val: bool)
Read this register to clear the RESTART_DET interrupt (bit 12) of IC_RAW_INTR_STAT register. Reset value: 0x0
Trait Implementations§
source§impl Clone for IcClrRestartDet
impl Clone for IcClrRestartDet
source§fn clone(&self) -> IcClrRestartDet
fn clone(&self) -> IcClrRestartDet
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 IcClrRestartDet
impl Default for IcClrRestartDet
source§fn default() -> IcClrRestartDet
fn default() -> IcClrRestartDet
Returns the “default value” for a type. Read more
source§impl PartialEq for IcClrRestartDet
impl PartialEq for IcClrRestartDet
impl Copy for IcClrRestartDet
impl Eq for IcClrRestartDet
impl StructuralPartialEq for IcClrRestartDet
Auto Trait Implementations§
impl Freeze for IcClrRestartDet
impl RefUnwindSafe for IcClrRestartDet
impl Send for IcClrRestartDet
impl Sync for IcClrRestartDet
impl Unpin for IcClrRestartDet
impl UnwindSafe for IcClrRestartDet
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
)