Enum rp2040_pac::i2c0::ic_enable_status::IC_EN_A
source · pub enum IC_EN_A {
DISABLED = 0,
ENABLED = 1,
}
Expand description
ic_en Status. This bit always reflects the value driven on the output port ic_en. - When read as 1, DW_apb_i2c is deemed to be in an enabled state. - When read as 0, DW_apb_i2c is deemed completely inactive. Note: The CPU can safely read this bit anytime. When this bit is read as 0, the CPU can safely read SLV_RX_DATA_LOST (bit 2) and SLV_DISABLED_WHILE_BUSY (bit 1).
Reset value: 0x0
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for IC_EN_A
impl Eq for IC_EN_A
impl StructuralPartialEq for IC_EN_A
Auto Trait Implementations§
impl Freeze for IC_EN_A
impl RefUnwindSafe for IC_EN_A
impl Send for IC_EN_A
impl Sync for IC_EN_A
impl Unpin for IC_EN_A
impl UnwindSafe for IC_EN_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
)