Struct gd32vf103_pac::i2c0::saddr0::W
source · pub struct W(_);
Expand description
Register SADDR0
writer
Implementations§
source§impl W
impl W
sourcepub fn address0(&mut self) -> ADDRESS0_W<'_, 0>
pub fn address0(&mut self) -> ADDRESS0_W<'_, 0>
Bit 0 - Bit 0 of a 10-bit address
sourcepub fn address7_1(&mut self) -> ADDRESS7_1_W<'_, 1>
pub fn address7_1(&mut self) -> ADDRESS7_1_W<'_, 1>
Bits 1:7 - 7-bit address or bits 7:1 of a 10-bit address
sourcepub fn address9_8(&mut self) -> ADDRESS9_8_W<'_, 8>
pub fn address9_8(&mut self) -> ADDRESS9_8_W<'_, 8>
Bits 8:9 - Highest two bits of a 10-bit address
sourcepub fn addformat(&mut self) -> ADDFORMAT_W<'_, 15>
pub fn addformat(&mut self) -> ADDFORMAT_W<'_, 15>
Bit 15 - Address mode for the I2C slave
Methods from Deref<Target = W<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