Struct gd32vf103_pac::i2c0::saddr0::R
source · pub struct R(_);
Expand description
Register SADDR0
reader
Implementations§
source§impl R
impl R
sourcepub fn address0(&self) -> ADDRESS0_R
pub fn address0(&self) -> ADDRESS0_R
Bit 0 - Bit 0 of a 10-bit address
sourcepub fn address7_1(&self) -> ADDRESS7_1_R
pub fn address7_1(&self) -> ADDRESS7_1_R
Bits 1:7 - 7-bit address or bits 7:1 of a 10-bit address
sourcepub fn address9_8(&self) -> ADDRESS9_8_R
pub fn address9_8(&self) -> ADDRESS9_8_R
Bits 8:9 - Highest two bits of a 10-bit address
sourcepub fn addformat(&self) -> ADDFORMAT_R
pub fn addformat(&self) -> ADDFORMAT_R
Bit 15 - Address mode for the I2C slave
Methods from Deref<Target = R<SADDR0_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
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