Enum rp2040_pac::i2c0::ic_con::IC_10BITADDR_SLAVE_A
source · pub enum IC_10BITADDR_SLAVE_A {
ADDR_7BITS = 0,
ADDR_10BITS = 1,
}
Expand description
When acting as a slave, this bit controls whether the DW_apb_i2c responds to 7- or 10-bit addresses. - 0: 7-bit addressing. The DW_apb_i2c ignores transactions that involve 10-bit addressing; for 7-bit addressing, only the lower 7 bits of the IC_SAR register are compared. - 1: 10-bit addressing. The DW_apb_i2c responds to only 10-bit addressing transfers that match the full 10 bits of the IC_SAR register.
Value on reset: 0
Variants§
Trait Implementations§
source§impl Clone for IC_10BITADDR_SLAVE_A
impl Clone for IC_10BITADDR_SLAVE_A
source§fn clone(&self) -> IC_10BITADDR_SLAVE_A
fn clone(&self) -> IC_10BITADDR_SLAVE_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 IC_10BITADDR_SLAVE_A
impl Debug for IC_10BITADDR_SLAVE_A
source§impl From<IC_10BITADDR_SLAVE_A> for bool
impl From<IC_10BITADDR_SLAVE_A> for bool
source§fn from(variant: IC_10BITADDR_SLAVE_A) -> Self
fn from(variant: IC_10BITADDR_SLAVE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for IC_10BITADDR_SLAVE_A
impl PartialEq for IC_10BITADDR_SLAVE_A
impl Copy for IC_10BITADDR_SLAVE_A
impl Eq for IC_10BITADDR_SLAVE_A
impl StructuralPartialEq for IC_10BITADDR_SLAVE_A
Auto Trait Implementations§
impl Freeze for IC_10BITADDR_SLAVE_A
impl RefUnwindSafe for IC_10BITADDR_SLAVE_A
impl Send for IC_10BITADDR_SLAVE_A
impl Sync for IC_10BITADDR_SLAVE_A
impl Unpin for IC_10BITADDR_SLAVE_A
impl UnwindSafe for IC_10BITADDR_SLAVE_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
)