[][src]Struct gd32vf103_pac::i2c0::saddr0::R

pub struct R { /* fields omitted */ }

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

impl Unpin for R

impl Sync for R

impl Send for R

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]