Module esp32p4::i2c0::comd0

source ·
Expand description

I2C command register 0

Structs§

Type Aliases§

  • Field COMMAND0_DONE reader - Represents whether command 0 is done in I2C Master mode. 0: Not done 1: Done
  • Field COMMAND0_DONE writer - Represents whether command 0 is done in I2C Master mode. 0: Not done 1: Done
  • Field COMMAND0 reader - Configures command 0. 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 COMMAND0 writer - Configures command 0. 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 COMD0 reader
  • Register COMD0 writer