Enum rp2040_pac::i2c0::ic_con::TX_EMPTY_CTRL_A
source · pub enum TX_EMPTY_CTRL_A {
DISABLED = 0,
ENABLED = 1,
}
Expand description
This bit controls the generation of the TX_EMPTY interrupt, as described in the IC_RAW_INTR_STAT register.
Reset value: 0x0.
Value on reset: 0
Variants§
DISABLED = 0
0: Default behaviour of TX_EMPTY interrupt
ENABLED = 1
1: Controlled generation of TX_EMPTY interrupt
Trait Implementations§
source§impl Clone for TX_EMPTY_CTRL_A
impl Clone for TX_EMPTY_CTRL_A
source§fn clone(&self) -> TX_EMPTY_CTRL_A
fn clone(&self) -> TX_EMPTY_CTRL_A
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 Debug for TX_EMPTY_CTRL_A
impl Debug for TX_EMPTY_CTRL_A
source§impl From<TX_EMPTY_CTRL_A> for bool
impl From<TX_EMPTY_CTRL_A> for bool
source§fn from(variant: TX_EMPTY_CTRL_A) -> Self
fn from(variant: TX_EMPTY_CTRL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for TX_EMPTY_CTRL_A
impl PartialEq for TX_EMPTY_CTRL_A
impl Copy for TX_EMPTY_CTRL_A
impl Eq for TX_EMPTY_CTRL_A
impl StructuralPartialEq for TX_EMPTY_CTRL_A
Auto Trait Implementations§
impl Freeze for TX_EMPTY_CTRL_A
impl RefUnwindSafe for TX_EMPTY_CTRL_A
impl Send for TX_EMPTY_CTRL_A
impl Sync for TX_EMPTY_CTRL_A
impl Unpin for TX_EMPTY_CTRL_A
impl UnwindSafe for TX_EMPTY_CTRL_A
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
)