Module ctr

Source
Expand description

Transmission setting

Structs§

CTR_SPEC
Transmission setting

Type Aliases§

ARBITRATION_EN_R
Field ARBITRATION_EN reader - This is the enable bit for arbitration_lost.
ARBITRATION_EN_W
Field ARBITRATION_EN writer - This is the enable bit for arbitration_lost.
CLK_EN_R
Field CLK_EN reader - Reserved
CLK_EN_W
Field CLK_EN writer - Reserved
CONF_UPGATE_W
Field CONF_UPGATE writer - synchronization bit
FSM_RST_W
Field FSM_RST writer - This register is used to reset the scl FMS.
MS_MODE_R
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.
MS_MODE_W
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.
R
Register CTR reader
RX_FULL_ACK_LEVEL_R
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.
RX_FULL_ACK_LEVEL_W
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.
RX_LSB_FIRST_R
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.
RX_LSB_FIRST_W
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.
SAMPLE_SCL_LEVEL_R
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.
SAMPLE_SCL_LEVEL_W
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.
SCL_FORCE_OUT_R
Field SCL_FORCE_OUT reader - 0: direct output, 1: open drain output.
SCL_FORCE_OUT_W
Field SCL_FORCE_OUT writer - 0: direct output, 1: open drain output.
SDA_FORCE_OUT_R
Field SDA_FORCE_OUT reader - 0: direct output, 1: open drain output.
SDA_FORCE_OUT_W
Field SDA_FORCE_OUT writer - 0: direct output, 1: open drain output.
SLV_TX_AUTO_START_EN_R
Field SLV_TX_AUTO_START_EN reader - This is the enable bit for slave to send data automatically
SLV_TX_AUTO_START_EN_W
Field SLV_TX_AUTO_START_EN writer - This is the enable bit for slave to send data automatically
TRANS_START_W
Field TRANS_START writer - Set this bit to start sending the data in txfifo.
TX_LSB_FIRST_R
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.
TX_LSB_FIRST_W
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.
W
Register CTR writer