[−][src]Struct gd32vf103_pac::i2c0::saddr0::R
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u16
[src]
Value of the register as raw bits
pub fn addformat(&self) -> ADDFORMATR
[src]
Bit 15 - Address mode for the I2C slave
pub fn address9_8(&self) -> ADDRESS9_8R
[src]
Bits 8:9 - Highest two bits of a 10-bit address
pub fn address7_1(&self) -> ADDRESS7_1R
[src]
Bits 1:7 - 7-bit address or bits 7:1 of a 10-bit address
pub fn address0(&self) -> ADDRESS0R
[src]
Bit 0 - Bit 0 of a 10-bit address
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,