Module esp32c6_lp::lp_i2c::comd1
source · Expand description
I2C command register 1
Structs
- I2C command register 1
Type Aliases
- Field
COMMAND1_DONE
reader - When command 1 is done in I2C Master mode, this bit changes to high level. - Field
COMMAND1_DONE
writer - When command 1 is done in I2C Master mode, this bit changes to high level. - Field
COMMAND1
reader - This is the content of command 1. 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
COMMAND1
writer - This is the content of command 1. 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
COMD1
reader - Register
COMD1
writer