Module esp32c2_hal::pac::i2c0::ctr
Expand description
Transmission setting
Structs
Type Definitions
Field
ARBITRATION_EN
reader - This is the enable bit for arbitration_lost.Field
ARBITRATION_EN
writer - This is the enable bit for arbitration_lost.Field
CLK_EN
reader - ReservedField
CLK_EN
writer - ReservedField
CONF_UPGATE
writer - synchronization bitField
FSM_RST
writer - This register is used to reset the scl FMS.Field
MS_MODE
reader - Set this bit to configure the module as an I2C Master. Clear this bit to configure the module as an I2C Slave.Field
MS_MODE
writer - Set this bit to configure the module as an I2C Master. Clear this bit to configure the module as an I2C Slave.Field
RX_FULL_ACK_LEVEL
reader - This register is used to configure the ACK value that need to sent by master when the rx_fifo_cnt has reached the threshold.Field
RX_FULL_ACK_LEVEL
writer - This register is used to configure the ACK value that need to sent by master when the rx_fifo_cnt has reached the threshold.Field
RX_LSB_FIRST
reader - This bit is used to control the storage mode for received data. 1: receive data from the least significant bit, 0: receive data from the most significant bit.Field
RX_LSB_FIRST
writer - This bit is used to control the storage mode for received data. 1: receive data from the least significant bit, 0: receive data from the most significant bit.Field
SAMPLE_SCL_LEVEL
reader - This register is used to select the sample mode. 1: sample SDA data on the SCL low level. 0: sample SDA data on the SCL high level.Field
SAMPLE_SCL_LEVEL
writer - This register is used to select the sample mode. 1: sample SDA data on the SCL low level. 0: sample SDA data on the SCL high level.Field
SCL_FORCE_OUT
reader - 0: direct output, 1: open drain output.Field
SCL_FORCE_OUT
writer - 0: direct output, 1: open drain output.Field
SDA_FORCE_OUT
reader - 0: direct output, 1: open drain output.Field
SDA_FORCE_OUT
writer - 0: direct output, 1: open drain output.Field
SLV_TX_AUTO_START_EN
reader - This is the enable bit for slave to send data automaticallyField
SLV_TX_AUTO_START_EN
writer - This is the enable bit for slave to send data automaticallyField
TRANS_START
writer - Set this bit to start sending the data in txfifo.Field
TX_LSB_FIRST
reader - This bit is used to control the sending mode for data needing to be sent. 1: send data from the least significant bit, 0: send data from the most significant bit.Field
TX_LSB_FIRST
writer - This bit is used to control the sending mode for data needing to be sent. 1: send data from the least significant bit, 0: send data from the most significant bit.