Struct rp_pac::i2c::regs::IcClrTxAbrt
source · #[repr(transparent)]pub struct IcClrTxAbrt(pub u32);
Expand description
Clear TX_ABRT Interrupt Register
Tuple Fields§
§0: u32
Implementations§
source§impl IcClrTxAbrt
impl IcClrTxAbrt
sourcepub const fn clr_tx_abrt(&self) -> bool
pub const fn clr_tx_abrt(&self) -> bool
Read this register to clear the TX_ABRT interrupt (bit 6) of the IC_RAW_INTR_STAT register, and the IC_TX_ABRT_SOURCE register. This also releases the TX FIFO from the flushed/reset state, allowing more writes to the TX FIFO. Refer to Bit 9 of the IC_TX_ABRT_SOURCE register for an exception to clearing IC_TX_ABRT_SOURCE. Reset value: 0x0
sourcepub fn set_clr_tx_abrt(&mut self, val: bool)
pub fn set_clr_tx_abrt(&mut self, val: bool)
Read this register to clear the TX_ABRT interrupt (bit 6) of the IC_RAW_INTR_STAT register, and the IC_TX_ABRT_SOURCE register. This also releases the TX FIFO from the flushed/reset state, allowing more writes to the TX FIFO. 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§
source§impl Clone for IcClrTxAbrt
impl Clone for IcClrTxAbrt
source§fn clone(&self) -> IcClrTxAbrt
fn clone(&self) -> IcClrTxAbrt
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 IcClrTxAbrt
impl Default for IcClrTxAbrt
source§fn default() -> IcClrTxAbrt
fn default() -> IcClrTxAbrt
Returns the “default value” for a type. Read more
source§impl PartialEq for IcClrTxAbrt
impl PartialEq for IcClrTxAbrt
impl Copy for IcClrTxAbrt
impl Eq for IcClrTxAbrt
impl StructuralPartialEq for IcClrTxAbrt
Auto Trait Implementations§
impl Freeze for IcClrTxAbrt
impl RefUnwindSafe for IcClrTxAbrt
impl Send for IcClrTxAbrt
impl Sync for IcClrTxAbrt
impl Unpin for IcClrTxAbrt
impl UnwindSafe for IcClrTxAbrt
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
)