[][src]Struct bl602_pac::i2c::i2c_config::R

pub struct R(_);

Register i2c_config reader

Implementations

impl R[src]

pub fn cr_i2c_deg_cnt(&self) -> CR_I2C_DEG_CNT_R[src]

Bits 28:31

pub fn cr_i2c_pkt_len(&self) -> CR_I2C_PKT_LEN_R[src]

Bits 16:23

pub fn cr_i2c_slv_addr(&self) -> CR_I2C_SLV_ADDR_R[src]

Bits 8:14

pub fn cr_i2c_sub_addr_bc(&self) -> CR_I2C_SUB_ADDR_BC_R[src]

Bits 5:6

pub fn cr_i2c_sub_addr_en(&self) -> CR_I2C_SUB_ADDR_EN_R[src]

Bit 4

pub fn cr_i2c_scl_sync_en(&self) -> CR_I2C_SCL_SYNC_EN_R[src]

Bit 3

pub fn cr_i2c_deg_en(&self) -> CR_I2C_DEG_EN_R[src]

Bit 2

pub fn cr_i2c_pkt_dir(&self) -> CR_I2C_PKT_DIR_R[src]

Bit 1

pub fn cr_i2c_m_en(&self) -> CR_I2C_M_EN_R[src]

Bit 0

Methods from Deref<Target = R<I2C_CONFIG_SPEC>>

pub fn bits(&self) -> REG::Ux[src]

Reads raw bits from register.

Trait Implementations

impl Deref for R[src]

type Target = R<I2C_CONFIG_SPEC>

The resulting type after dereferencing.

impl From<R<I2C_CONFIG_SPEC>> for R[src]

Auto Trait Implementations

impl Send for R

impl Sync for R

impl Unpin for R

Blanket Implementations

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

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

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

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

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

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> 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.