Enum rp2040_pac::i2c0::ic_con::MASTER_MODE_A
source · pub enum MASTER_MODE_A {
DISABLED = 0,
ENABLED = 1,
}
Expand description
This bit controls whether the DW_apb_i2c master is enabled.
NOTE: Software should ensure that if this bit is written with ‘1’ then bit 6 should also be written with a ‘1’.
Value on reset: 1
Variants§
Trait Implementations§
source§impl Clone for MASTER_MODE_A
impl Clone for MASTER_MODE_A
source§fn clone(&self) -> MASTER_MODE_A
fn clone(&self) -> MASTER_MODE_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 MASTER_MODE_A
impl Debug for MASTER_MODE_A
source§impl From<MASTER_MODE_A> for bool
impl From<MASTER_MODE_A> for bool
source§fn from(variant: MASTER_MODE_A) -> Self
fn from(variant: MASTER_MODE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for MASTER_MODE_A
impl PartialEq for MASTER_MODE_A
impl Copy for MASTER_MODE_A
impl Eq for MASTER_MODE_A
impl StructuralPartialEq for MASTER_MODE_A
Auto Trait Implementations§
impl Freeze for MASTER_MODE_A
impl RefUnwindSafe for MASTER_MODE_A
impl Send for MASTER_MODE_A
impl Sync for MASTER_MODE_A
impl Unpin for MASTER_MODE_A
impl UnwindSafe for MASTER_MODE_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
)