Type Alias R

Source
pub type R = R<CTRL_SPEC>;
Expand description

Register CTRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn sda_force_out(&self) -> SDA_FORCE_OUT_R

Bit 0 - 1=push pull,0=open drain

Source

pub fn scl_force_out(&self) -> SCL_FORCE_OUT_R

Bit 1 - 1=push pull,0=open drain

Source

pub fn ms_mode(&self) -> MS_MODE_R

Bit 2 - 1=master,0=slave

Source

pub fn trans_start(&self) -> TRANS_START_R

Bit 3 - force start

Source

pub fn tx_lsb_first(&self) -> TX_LSB_FIRST_R

Bit 4 - transit lsb first

Source

pub fn rx_lsb_first(&self) -> RX_LSB_FIRST_R

Bit 5 - receive lsb first

Source

pub fn i2c_ctrl_clk_gate_en(&self) -> I2C_CTRL_CLK_GATE_EN_R

Bit 29 - configure i2c ctrl clk enable

Source

pub fn i2c_reset(&self) -> I2C_RESET_R

Bit 30 - rtc i2c sw reset

Source

pub fn i2cclk_en(&self) -> I2CCLK_EN_R

Bit 31 - rtc i2c reg clk gating