Expand description

Transmission setting

Structs

Field ADDR_10BIT_RW_CHECK_EN reader - This is the enable bit to check if the r/w bit of 10bit addressing consists with I2C protocol

Field ADDR_10BIT_RW_CHECK_EN writer - This is the enable bit to check if the r/w bit of 10bit addressing consists with I2C protocol

Field ADDR_BROADCASTING_EN reader - This is the enable bit to support the 7bit general call function.

Field ADDR_BROADCASTING_EN writer - This is the enable bit to support the 7bit general call function.

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 - Reserved

Field CLK_EN writer - Reserved

Field CONF_UPGATE writer - synchronization bit

Transmission setting

Field 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.

Register CTR reader

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 automatically

Field SLV_TX_AUTO_START_EN writer - This is the enable bit for slave to send data automatically

Field 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.

Register CTR writer