diff --git a/components/soc/esp32c2/register/soc/i2c_reg.h b/components/soc/esp32c2/register/soc/i2c_reg.h index 8c07a7398f1..3c6b56443a5 100644 --- a/components/soc/esp32c2/register/soc/i2c_reg.h +++ b/components/soc/esp32c2/register/soc/i2c_reg.h @@ -1,5 +1,5 @@ /** - * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2021-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -957,7 +957,7 @@ extern "C" { #define I2C_COMD0_REG (DR_REG_I2C_BASE + 0x58) /** I2C_COMMAND0 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 0. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -982,7 +982,7 @@ extern "C" { #define I2C_COMD1_REG (DR_REG_I2C_BASE + 0x5c) /** I2C_COMMAND1 : R/W; bitpos: [13:0]; default: 0; * 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. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1007,7 +1007,7 @@ extern "C" { #define I2C_COMD2_REG (DR_REG_I2C_BASE + 0x60) /** I2C_COMMAND2 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 2. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1032,7 +1032,7 @@ extern "C" { #define I2C_COMD3_REG (DR_REG_I2C_BASE + 0x64) /** I2C_COMMAND3 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 3. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1057,7 +1057,7 @@ extern "C" { #define I2C_COMD4_REG (DR_REG_I2C_BASE + 0x68) /** I2C_COMMAND4 : R/W; bitpos: [13:0]; default: 0; * 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. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1082,7 +1082,7 @@ extern "C" { #define I2C_COMD5_REG (DR_REG_I2C_BASE + 0x6c) /** I2C_COMMAND5 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 5. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1106,7 +1106,7 @@ extern "C" { #define I2C_COMD6_REG (DR_REG_I2C_BASE + 0x70) /** I2C_COMMAND6 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 6. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1130,7 +1130,7 @@ extern "C" { #define I2C_COMD7_REG (DR_REG_I2C_BASE + 0x74) /** I2C_COMMAND7 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 7. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 diff --git a/components/soc/esp32c2/register/soc/i2c_struct.h b/components/soc/esp32c2/register/soc/i2c_struct.h index a40ad248dba..74b763547ee 100644 --- a/components/soc/esp32c2/register/soc/i2c_struct.h +++ b/components/soc/esp32c2/register/soc/i2c_struct.h @@ -791,7 +791,7 @@ typedef union { struct { /** command : R/W; bitpos: [13:0]; default: 0; * This is the content of command. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 diff --git a/components/soc/esp32c5/register/soc/i2c_struct.h b/components/soc/esp32c5/register/soc/i2c_struct.h index cbf8ad0d294..180c2cb6307 100644 --- a/components/soc/esp32c5/register/soc/i2c_struct.h +++ b/components/soc/esp32c5/register/soc/i2c_struct.h @@ -1,5 +1,5 @@ /** - * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2024-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -1001,10 +1001,10 @@ typedef union { /** command0 : R/W; bitpos: [13:0]; default: 0; * Configures command 0. It consists of three parts: * op_code is the command, - * 0: RSTART, + * 6: RSTART, * 1: WRITE, - * 2: READ, - * 3: STOP, + * 3: READ, + * 2: STOP, * 4: END. * * Byte_num represents the number of bytes that need to be sent or received. diff --git a/components/soc/esp32c6/register/soc/i2c_reg.h b/components/soc/esp32c6/register/soc/i2c_reg.h index c92b0a61909..bc4865907f2 100644 --- a/components/soc/esp32c6/register/soc/i2c_reg.h +++ b/components/soc/esp32c6/register/soc/i2c_reg.h @@ -1,5 +1,5 @@ /** - * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -1114,7 +1114,7 @@ extern "C" { #define I2C_COMD0_REG(i) (REG_I2C_BASE(i) + 0x58) /** I2C_COMMAND0 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 0. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1139,7 +1139,7 @@ extern "C" { #define I2C_COMD1_REG(i) (REG_I2C_BASE(i) + 0x5c) /** I2C_COMMAND1 : R/W; bitpos: [13:0]; default: 0; * 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. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1164,7 +1164,7 @@ extern "C" { #define I2C_COMD2_REG(i) (REG_I2C_BASE(i) + 0x60) /** I2C_COMMAND2 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 2. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1189,7 +1189,7 @@ extern "C" { #define I2C_COMD3_REG(i) (REG_I2C_BASE(i) + 0x64) /** I2C_COMMAND3 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 3. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1214,7 +1214,7 @@ extern "C" { #define I2C_COMD4_REG(i) (REG_I2C_BASE(i) + 0x68) /** I2C_COMMAND4 : R/W; bitpos: [13:0]; default: 0; * 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. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1239,7 +1239,7 @@ extern "C" { #define I2C_COMD5_REG(i) (REG_I2C_BASE(i) + 0x6c) /** I2C_COMMAND5 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 5. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1263,7 +1263,7 @@ extern "C" { #define I2C_COMD6_REG(i) (REG_I2C_BASE(i) + 0x70) /** I2C_COMMAND6 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 6. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1287,7 +1287,7 @@ extern "C" { #define I2C_COMD7_REG(i) (REG_I2C_BASE(i) + 0x74) /** I2C_COMMAND7 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 7. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 diff --git a/components/soc/esp32c6/register/soc/i2c_struct.h b/components/soc/esp32c6/register/soc/i2c_struct.h index dce4371af42..325d6149a44 100644 --- a/components/soc/esp32c6/register/soc/i2c_struct.h +++ b/components/soc/esp32c6/register/soc/i2c_struct.h @@ -916,7 +916,7 @@ typedef union { struct { /** command : R/W; bitpos: [13:0]; default: 0; * This is the content of command. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 diff --git a/components/soc/esp32c6/register/soc/lp_i2c_reg.h b/components/soc/esp32c6/register/soc/lp_i2c_reg.h index 53030da1908..4ef22ccbab4 100644 --- a/components/soc/esp32c6/register/soc/lp_i2c_reg.h +++ b/components/soc/esp32c6/register/soc/lp_i2c_reg.h @@ -1,5 +1,5 @@ /** - * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -941,7 +941,7 @@ extern "C" { #define LP_I2C_COMD0_REG (DR_REG_LP_I2C_BASE + 0x58) /** LP_I2C_COMMAND0 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 0. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -966,7 +966,7 @@ extern "C" { #define LP_I2C_COMD1_REG (DR_REG_LP_I2C_BASE + 0x5c) /** LP_I2C_COMMAND1 : R/W; bitpos: [13:0]; default: 0; * 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. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -991,7 +991,7 @@ extern "C" { #define LP_I2C_COMD2_REG (DR_REG_LP_I2C_BASE + 0x60) /** LP_I2C_COMMAND2 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 2. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1016,7 +1016,7 @@ extern "C" { #define LP_I2C_COMD3_REG (DR_REG_LP_I2C_BASE + 0x64) /** LP_I2C_COMMAND3 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 3. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1041,7 +1041,7 @@ extern "C" { #define LP_I2C_COMD4_REG (DR_REG_LP_I2C_BASE + 0x68) /** LP_I2C_COMMAND4 : R/W; bitpos: [13:0]; default: 0; * 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. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1066,7 +1066,7 @@ extern "C" { #define LP_I2C_COMD5_REG (DR_REG_LP_I2C_BASE + 0x6c) /** LP_I2C_COMMAND5 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 5. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1090,7 +1090,7 @@ extern "C" { #define LP_I2C_COMD6_REG (DR_REG_LP_I2C_BASE + 0x70) /** LP_I2C_COMMAND6 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 6. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1114,7 +1114,7 @@ extern "C" { #define LP_I2C_COMD7_REG (DR_REG_LP_I2C_BASE + 0x74) /** LP_I2C_COMMAND7 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 7. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 diff --git a/components/soc/esp32h2/register/soc/i2c_reg.h b/components/soc/esp32h2/register/soc/i2c_reg.h index 923bf7a4851..bc4865907f2 100644 --- a/components/soc/esp32h2/register/soc/i2c_reg.h +++ b/components/soc/esp32h2/register/soc/i2c_reg.h @@ -1,5 +1,5 @@ /** - * SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -1114,7 +1114,7 @@ extern "C" { #define I2C_COMD0_REG(i) (REG_I2C_BASE(i) + 0x58) /** I2C_COMMAND0 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 0. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1139,7 +1139,7 @@ extern "C" { #define I2C_COMD1_REG(i) (REG_I2C_BASE(i) + 0x5c) /** I2C_COMMAND1 : R/W; bitpos: [13:0]; default: 0; * 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. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1164,7 +1164,7 @@ extern "C" { #define I2C_COMD2_REG(i) (REG_I2C_BASE(i) + 0x60) /** I2C_COMMAND2 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 2. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1189,7 +1189,7 @@ extern "C" { #define I2C_COMD3_REG(i) (REG_I2C_BASE(i) + 0x64) /** I2C_COMMAND3 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 3. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1214,7 +1214,7 @@ extern "C" { #define I2C_COMD4_REG(i) (REG_I2C_BASE(i) + 0x68) /** I2C_COMMAND4 : R/W; bitpos: [13:0]; default: 0; * 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. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1239,7 +1239,7 @@ extern "C" { #define I2C_COMD5_REG(i) (REG_I2C_BASE(i) + 0x6c) /** I2C_COMMAND5 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 5. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1263,7 +1263,7 @@ extern "C" { #define I2C_COMD6_REG(i) (REG_I2C_BASE(i) + 0x70) /** I2C_COMMAND6 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 6. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 @@ -1287,7 +1287,7 @@ extern "C" { #define I2C_COMD7_REG(i) (REG_I2C_BASE(i) + 0x74) /** I2C_COMMAND7 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 7. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 diff --git a/components/soc/esp32h2/register/soc/i2c_struct.h b/components/soc/esp32h2/register/soc/i2c_struct.h index eec5081e80a..d9782318059 100644 --- a/components/soc/esp32h2/register/soc/i2c_struct.h +++ b/components/soc/esp32h2/register/soc/i2c_struct.h @@ -916,7 +916,7 @@ typedef union { struct { /** command : R/W; bitpos: [13:0]; default: 0; * This is the content of command. It consists of three parts: - * op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. + * op_code is the command, 6: RSTART, 1: WRITE, 3: READ, 2: 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 diff --git a/components/soc/esp32p4/register/hw_ver1/soc/i2c_reg.h b/components/soc/esp32p4/register/hw_ver1/soc/i2c_reg.h index 49f3185e78c..0d86cc3d481 100644 --- a/components/soc/esp32p4/register/hw_ver1/soc/i2c_reg.h +++ b/components/soc/esp32p4/register/hw_ver1/soc/i2c_reg.h @@ -1,5 +1,5 @@ /** - * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2023-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -1173,10 +1173,10 @@ extern "C" { /** I2C_COMMAND0 : R/W; bitpos: [13:0]; default: 0; * Configures command 0. It consists of three parts: * op_code is the command, - * 0: RSTART, + * 6: RSTART, * 1: WRITE, - * 2: READ, - * 3: STOP, + * 3: READ, + * 2: STOP, * 4: END. * * Byte_num represents the number of bytes that need to be sent or received. diff --git a/components/soc/esp32p4/register/hw_ver1/soc/i2c_struct.h b/components/soc/esp32p4/register/hw_ver1/soc/i2c_struct.h index 747686285a6..5042f58e95f 100644 --- a/components/soc/esp32p4/register/hw_ver1/soc/i2c_struct.h +++ b/components/soc/esp32p4/register/hw_ver1/soc/i2c_struct.h @@ -1,5 +1,5 @@ /** - * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2023-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -1009,10 +1009,10 @@ typedef union { /** command : R/W; bitpos: [13:0]; default: 0; * Configures command. It consists of three parts: * op_code is the command, - * 0: RSTART, + * 6: RSTART, * 1: WRITE, - * 2: READ, - * 3: STOP, + * 3: READ, + * 2: STOP, * 4: END. * * Byte_num represents the number of bytes that need to be sent or received. diff --git a/components/soc/esp32p4/register/hw_ver1/soc/lp_i2c_reg.h b/components/soc/esp32p4/register/hw_ver1/soc/lp_i2c_reg.h index fc0e24966e7..7524d885178 100644 --- a/components/soc/esp32p4/register/hw_ver1/soc/lp_i2c_reg.h +++ b/components/soc/esp32p4/register/hw_ver1/soc/lp_i2c_reg.h @@ -1,5 +1,5 @@ /** - * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2023-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -996,10 +996,10 @@ extern "C" { /** LP_I2C_COMMAND0 : R/W; bitpos: [13:0]; default: 0; * Configures command 0. It consists of three parts: * op_code is the command, - * 0: RSTART, + * 6: RSTART, * 1: WRITE, - * 2: READ, - * 3: STOP, + * 3: READ, + * 2: STOP, * 4: END. * * Byte_num represents the number of bytes that need to be sent or received. diff --git a/components/soc/esp32p4/register/hw_ver1/soc/lp_i2c_struct.h b/components/soc/esp32p4/register/hw_ver1/soc/lp_i2c_struct.h index e75e3f56175..b2e68c89aa9 100644 --- a/components/soc/esp32p4/register/hw_ver1/soc/lp_i2c_struct.h +++ b/components/soc/esp32p4/register/hw_ver1/soc/lp_i2c_struct.h @@ -1,5 +1,5 @@ /** - * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2023-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -851,10 +851,10 @@ typedef union { /** command0 : R/W; bitpos: [13:0]; default: 0; * Configures command 0. It consists of three parts: * op_code is the command, - * 0: RSTART, + * 6: RSTART, * 1: WRITE, - * 2: READ, - * 3: STOP, + * 3: READ, + * 2: STOP, * 4: END. * * Byte_num represents the number of bytes that need to be sent or received. diff --git a/components/soc/esp32s3/register/soc/i2c_reg.h b/components/soc/esp32s3/register/soc/i2c_reg.h index 0585f139b32..3b6452b9717 100644 --- a/components/soc/esp32s3/register/soc/i2c_reg.h +++ b/components/soc/esp32s3/register/soc/i2c_reg.h @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2021-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -1086,7 +1086,7 @@ extern "C" { #define I2C_COMD0_REG (DR_REG_I2C_BASE + 0x58) /** I2C_COMMAND0 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 0. It consists of three parts: - * op_code is the command, 0: RSTART; 1: WRITE; 2: READ; 3: STOP; 4: END. + * op_code is the command, 6: RSTART; 1: WRITE; 3: READ; 2: 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 @@ -1111,7 +1111,7 @@ extern "C" { #define I2C_COMD1_REG (DR_REG_I2C_BASE + 0x5c) /** I2C_COMMAND1 : R/W; bitpos: [13:0]; default: 0; * 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. + * op_code is the command, 6: RSTART; 1: WRITE; 3: READ; 2: 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 @@ -1136,7 +1136,7 @@ extern "C" { #define I2C_COMD2_REG (DR_REG_I2C_BASE + 0x60) /** I2C_COMMAND2 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 2. It consists of three parts: - * op_code is the command, 0: RSTART; 1: WRITE; 2: READ; 3: STOP; 4: END. + * op_code is the command, 6: RSTART; 1: WRITE; 3: READ; 2: 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 @@ -1161,7 +1161,7 @@ extern "C" { #define I2C_COMD3_REG (DR_REG_I2C_BASE + 0x64) /** I2C_COMMAND3 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 3. It consists of three parts: - * op_code is the command, 0: RSTART; 1: WRITE; 2: READ; 3: STOP; 4: END. + * op_code is the command, 6: RSTART; 1: WRITE; 3: READ; 2: 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 @@ -1186,7 +1186,7 @@ extern "C" { #define I2C_COMD4_REG (DR_REG_I2C_BASE + 0x68) /** I2C_COMMAND4 : R/W; bitpos: [13:0]; default: 0; * 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. + * op_code is the command, 6: RSTART; 1: WRITE; 3: READ; 2: 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 @@ -1211,7 +1211,7 @@ extern "C" { #define I2C_COMD5_REG (DR_REG_I2C_BASE + 0x6c) /** I2C_COMMAND5 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 5. It consists of three parts: - * op_code is the command, 0: RSTART; 1: WRITE; 2: READ; 3: STOP; 4: END. + * op_code is the command, 6: RSTART; 1: WRITE; 3: READ; 2: 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 @@ -1235,7 +1235,7 @@ extern "C" { #define I2C_COMD6_REG (DR_REG_I2C_BASE + 0x70) /** I2C_COMMAND6 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 6. It consists of three parts: - * op_code is the command, 0: RSTART; 1: WRITE; 2: READ; 3: STOP; 4: END. + * op_code is the command, 6: RSTART; 1: WRITE; 3: READ; 2: 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 @@ -1259,7 +1259,7 @@ extern "C" { #define I2C_COMD7_REG (DR_REG_I2C_BASE + 0x74) /** I2C_COMMAND7 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 7. It consists of three parts: - * op_code is the command, 0: RSTART; 1: WRITE; 2: READ; 3: STOP; 4: END. + * op_code is the command, 6: RSTART; 1: WRITE; 3: READ; 2: 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 diff --git a/components/soc/esp32s3/register/soc/i2c_struct.h b/components/soc/esp32s3/register/soc/i2c_struct.h index fe3695f44fd..d84cb8b3d6c 100644 --- a/components/soc/esp32s3/register/soc/i2c_struct.h +++ b/components/soc/esp32s3/register/soc/i2c_struct.h @@ -900,7 +900,7 @@ typedef union { struct { /** command0 : R/W; bitpos: [13:0]; default: 0; * This is the content of command 0. It consists of three parts: - * op_code is the command, 0: RSTART; 1: WRITE; 2: READ; 3: STOP; 4: END. + * op_code is the command, 6: RSTART; 1: WRITE; 3: READ; 2: 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