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