pub struct W(_);
Expand description
Register CTRL
writer
Implementations§
source§impl W
impl W
sourcepub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W<'_, 0>
pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W<'_, 0>
Bit 0 - 1=push pull,0=open drain
sourcepub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W<'_, 1>
pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W<'_, 1>
Bit 1 - 1=push pull,0=open drain
sourcepub fn trans_start(&mut self) -> TRANS_START_W<'_, 3>
pub fn trans_start(&mut self) -> TRANS_START_W<'_, 3>
Bit 3 - force start
sourcepub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W<'_, 4>
pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W<'_, 4>
Bit 4 - transit lsb first
sourcepub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W<'_, 5>
pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W<'_, 5>
Bit 5 - receive lsb first
sourcepub fn i2c_ctrl_clk_gate_en(&mut self) -> I2C_CTRL_CLK_GATE_EN_W<'_, 29>
pub fn i2c_ctrl_clk_gate_en(&mut self) -> I2C_CTRL_CLK_GATE_EN_W<'_, 29>
Bit 29 - configure i2c ctrl clk enable
sourcepub fn i2c_reset(&mut self) -> I2C_RESET_W<'_, 30>
pub fn i2c_reset(&mut self) -> I2C_RESET_W<'_, 30>
Bit 30 - rtc i2c sw reset
sourcepub fn i2cclk_en(&mut self) -> I2CCLK_EN_W<'_, 31>
pub fn i2cclk_en(&mut self) -> I2CCLK_EN_W<'_, 31>
Bit 31 - rtc i2c reg clk gating
Methods from Deref<Target = W<CTRL_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more