pub type R = R<CTRL_SPEC>;
Expand description
Register CTRL
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn sda_force_out(&self) -> SDA_FORCE_OUT_R
pub fn sda_force_out(&self) -> SDA_FORCE_OUT_R
Bit 0 - SDA is push-pull (1) or open-drain (0)
Sourcepub fn scl_force_out(&self) -> SCL_FORCE_OUT_R
pub fn scl_force_out(&self) -> SCL_FORCE_OUT_R
Bit 1 - SCL is push-pull (1) or open-drain (0)
Sourcepub fn trans_start(&self) -> TRANS_START_R
pub fn trans_start(&self) -> TRANS_START_R
Bit 5 - Force to generate start condition
Sourcepub fn tx_lsb_first(&self) -> TX_LSB_FIRST_R
pub fn tx_lsb_first(&self) -> TX_LSB_FIRST_R
Bit 6 - Send LSB first
Sourcepub fn rx_lsb_first(&self) -> RX_LSB_FIRST_R
pub fn rx_lsb_first(&self) -> RX_LSB_FIRST_R
Bit 7 - Receive LSB first