Module esp32_hal::pac::i2c0::ctr

Expand description

Structs

This register you can read, write_with_zero, reset, write, modify. See API.
Register CTR reader
Register CTR writer

Type Definitions

Field CLK_EN reader - This is the clock gating control bit for reading or writing registers.
Field CLK_EN writer - This is the clock gating control bit for reading or writing registers.
Field MS_MODE reader - Set this bit to configure the module as i2c master clear this bit to configure the module as i2c slave.
Field MS_MODE writer - Set this bit to configure the module as i2c master clear this bit to configure the module as i2c slave.
Field RX_LSB_FIRST reader - This bit is used to control the storage mode for received datas. 1: receive data from most significant bit 0: receive data from least significant bit
Field RX_LSB_FIRST writer - This bit is used to control the storage mode for received datas. 1: receive data from most significant bit 0: receive data from least significant bit
Field SAMPLE_SCL_LEVEL reader - Set this bit to sample data in SCL low level. clear this bit to sample data in SCL high level.
Field SAMPLE_SCL_LEVEL writer - Set this bit to sample data in SCL low level. clear this bit to sample data in SCL high level.
Field SCL_FORCE_OUT reader - 1: normally ouput scl clock 0: exchange the function of scl_o and scl_oe (scl_o is the original internal output scl signal scl_oe is the enable bit for the internal output scl signal)
Field SCL_FORCE_OUT writer - 1: normally ouput scl clock 0: exchange the function of scl_o and scl_oe (scl_o is the original internal output scl signal scl_oe is the enable bit for the internal output scl signal)
Field SDA_FORCE_OUT reader - 1: normally ouput sda data 0: exchange the function of sda_o and sda_oe (sda_o is the original internal output sda signal sda_oe is the enable bit for the internal output sda signal)
Field SDA_FORCE_OUT writer - 1: normally ouput sda data 0: exchange the function of sda_o and sda_oe (sda_o is the original internal output sda signal sda_oe is the enable bit for the internal output sda signal)
Field TRANS_START reader - Set this bit to start sending data in txfifo.
Field TRANS_START writer - Set this bit to start sending data in txfifo.
Field TX_LSB_FIRST reader - This bit is used to control the sending mode for data need to be send. 1: receive data from most significant bit 0: receive data from least significant bit
Field TX_LSB_FIRST writer - This bit is used to control the sending mode for data need to be send. 1: receive data from most significant bit 0: receive data from least significant bit