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 output mode. 0: open drain. 1: push pull.
Sourcepub fn scl_force_out(&self) -> SCL_FORCE_OUT_R
pub fn scl_force_out(&self) -> SCL_FORCE_OUT_R
Bit 1 - SCL output mode. 0: open drain. 1: push pull.
Sourcepub fn trans_start(&self) -> TRANS_START_R
pub fn trans_start(&self) -> TRANS_START_R
Bit 3 - Set this bit to 1, RTC I2C starts sending data.
Sourcepub fn tx_lsb_first(&self) -> TX_LSB_FIRST_R
pub fn tx_lsb_first(&self) -> TX_LSB_FIRST_R
Bit 4 - This bit is used to control the sending mode. 0: send data from the most significant bit. 1: send data from the least significant bit.
Sourcepub fn rx_lsb_first(&self) -> RX_LSB_FIRST_R
pub fn rx_lsb_first(&self) -> RX_LSB_FIRST_R
Bit 5 - This bit is used to control the storage mode for received data. 0: receive data from the most significant bit. 1: receive data from the least significant bit.
Sourcepub fn clk_gate_en(&self) -> CLK_GATE_EN_R
pub fn clk_gate_en(&self) -> CLK_GATE_EN_R
Bit 29 - RTC I²C controller clock gate.