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

pub struct W(_);

Register i2c_config writer

Implementations

impl W[src]

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

Bits 28:31

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

Bits 16:23

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

Bits 8:14

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

Bits 5:6

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

Bit 4

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

Bit 3

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

Bit 2

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

Bit 1

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

Bit 0

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register.

Methods from Deref<Target = W<I2C_CONFIG_SPEC>>

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<I2C_CONFIG_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

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

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

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.