pub struct R(_);Expand description
Register CTRL reader
Implementations
sourceimpl 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.
Methods from Deref<Target = R<CTRL_SPEC>>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more