[−][src]Struct bl602_pac::i2c::i2c_config::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>>
Trait Implementations
impl Deref for W
[src]
type Target = W<I2C_CONFIG_SPEC>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl DerefMut for W
[src]
impl From<W<I2C_CONFIG_SPEC>> for W
[src]
fn from(writer: W<I2C_CONFIG_SPEC>) -> Self
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,