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