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