Struct rp2040_pac2::i2c::regs::IcClrIntr[][src]

#[repr(transparent)]pub struct IcClrIntr(pub u32);

Clear Combined and Individual Interrupt Register

Implementations

impl IcClrIntr[src]

pub const fn clr_intr(&self) -> bool[src]

Read this register to clear the combined interrupt, all individual interrupts, and the IC_TX_ABRT_SOURCE register. This bit does not clear hardware clearable interrupts but software clearable interrupts. Refer to Bit 9 of the IC_TX_ABRT_SOURCE register for an exception to clearing IC_TX_ABRT_SOURCE. Reset value: 0x0

pub fn set_clr_intr(&mut self, val: bool)[src]

Read this register to clear the combined interrupt, all individual interrupts, and the IC_TX_ABRT_SOURCE register. This bit does not clear hardware clearable interrupts but software clearable interrupts. Refer to Bit 9 of the IC_TX_ABRT_SOURCE register for an exception to clearing IC_TX_ABRT_SOURCE. Reset value: 0x0

Trait Implementations

impl Clone for IcClrIntr[src]

impl Copy for IcClrIntr[src]

impl Default for IcClrIntr[src]

Auto Trait Implementations

impl Send for IcClrIntr

impl Sync for IcClrIntr

impl Unpin for IcClrIntr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.