Module esp32c6::lp_i2c0::i2c_comd4

source ·
Expand description

I2C command register 4

Structs

Type Aliases

  • Field I2C_COMMAND4_DONE reader - When command 4 is done in I2C Master mode, this bit changes to high level.
  • Field I2C_COMMAND4_DONE writer - When command 4 is done in I2C Master mode, this bit changes to high level.
  • Field I2C_COMMAND4 reader - This is the content of command 4. It consists of three parts: op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. Byte_num represents the number of bytes that need to be sent or received. ack_check_en, ack_exp and ack are used to control the ACK bit. See I2C cmd structure for more Information.
  • Field I2C_COMMAND4 writer - This is the content of command 4. It consists of three parts: op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. Byte_num represents the number of bytes that need to be sent or received. ack_check_en, ack_exp and ack are used to control the ACK bit. See I2C cmd structure for more Information.
  • Register I2C_COMD4 reader
  • Register I2C_COMD4 writer