pub type W = W<CTRL_SPEC>;
Expand description
Register CTRL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W<'_, CTRL_SPEC>
pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W<'_, CTRL_SPEC>
Bit 0 - SDA is push-pull (1) or open-drain (0)
Sourcepub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W<'_, CTRL_SPEC>
pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W<'_, CTRL_SPEC>
Bit 1 - SCL is push-pull (1) or open-drain (0)
Sourcepub fn trans_start(&mut self) -> TRANS_START_W<'_, CTRL_SPEC>
pub fn trans_start(&mut self) -> TRANS_START_W<'_, CTRL_SPEC>
Bit 5 - Force to generate start condition
Sourcepub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W<'_, CTRL_SPEC>
pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W<'_, CTRL_SPEC>
Bit 6 - Send LSB first
Sourcepub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W<'_, CTRL_SPEC>
pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W<'_, CTRL_SPEC>
Bit 7 - Receive LSB first