diff --git a/components/soc/esp32c2/register/soc/i2c_reg.h b/components/soc/esp32c2/register/soc/i2c_reg.h index 3d3c2829e3d..16e437fd950 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-2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2021-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ @@ -956,7 +956,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 @@ -981,7 +981,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 @@ -1006,7 +1006,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 @@ -1031,7 +1031,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 @@ -1056,7 +1056,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 @@ -1081,7 +1081,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 @@ -1105,7 +1105,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 @@ -1129,7 +1129,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 09805bb68c3..aea1bbb5841 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 228c2c4073a..5513ec2ec48 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: 2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2025-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ @@ -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 3507c163c27..a79b4fae1ff 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: 2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2025-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ @@ -1113,7 +1113,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 @@ -1138,7 +1138,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 @@ -1163,7 +1163,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 @@ -1188,7 +1188,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 @@ -1213,7 +1213,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 @@ -1238,7 +1238,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 @@ -1262,7 +1262,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 @@ -1286,7 +1286,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 069cd9ce17b..2451d707ae0 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 c7bb461c253..bd5efe01dea 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: 2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2025-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ @@ -940,7 +940,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 @@ -965,7 +965,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 @@ -990,7 +990,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 @@ -1015,7 +1015,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 @@ -1040,7 +1040,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 @@ -1065,7 +1065,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 @@ -1089,7 +1089,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 @@ -1113,7 +1113,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 001396b9bc9..891700cbc0f 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-2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ @@ -1113,7 +1113,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 @@ -1138,7 +1138,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 @@ -1163,7 +1163,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 @@ -1188,7 +1188,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 @@ -1213,7 +1213,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 @@ -1238,7 +1238,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 @@ -1262,7 +1262,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 @@ -1286,7 +1286,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 51918f80335..de06257dfaa 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/esp32h21/register/soc/i2c_reg.h b/components/soc/esp32h21/register/soc/i2c_reg.h index 5c453f55514..43a12b3500b 100644 --- a/components/soc/esp32h21/register/soc/i2c_reg.h +++ b/components/soc/esp32h21/register/soc/i2c_reg.h @@ -1,5 +1,5 @@ /** - * SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2024-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ @@ -1139,10 +1139,10 @@ extern "C" { * 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. * ack_check_en, ack_exp, and ack are used to control the ACK bit. See I2C cmd diff --git a/components/soc/esp32h21/register/soc/i2c_struct.h b/components/soc/esp32h21/register/soc/i2c_struct.h index e1cc6f36bc0..0f1eab398a1 100644 --- a/components/soc/esp32h21/register/soc/i2c_struct.h +++ b/components/soc/esp32h21/register/soc/i2c_struct.h @@ -1,5 +1,5 @@ /** - * SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2024-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ @@ -974,10 +974,10 @@ typedef union { * 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. * ack_check_en, ack_exp, and ack are used to control the ACK bit. See I2C cmd 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 b9d285e29af..09c2475343e 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: 2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2025-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ @@ -1172,10 +1172,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 1a0d806f5fc..bd3f3c52bd6 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: 2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2025-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ @@ -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 d6b144cd2b2..1263a6346d1 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: 2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2025-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ @@ -995,10 +995,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 cc160596323..1bd71960620 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: 2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2025-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ @@ -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 a457d4196ac..7c0961ede96 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-2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2021-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ @@ -1085,7 +1085,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 @@ -1110,7 +1110,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 @@ -1135,7 +1135,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 @@ -1160,7 +1160,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 @@ -1185,7 +1185,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 @@ -1210,7 +1210,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 @@ -1234,7 +1234,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 @@ -1258,7 +1258,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 435963e9487..5eced0f58bc 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 diff --git a/components/soc/esp32s31/register/soc/i2c_reg.h b/components/soc/esp32s31/register/soc/i2c_reg.h index 6ca6bdbd3aa..3919783fb93 100644 --- a/components/soc/esp32s31/register/soc/i2c_reg.h +++ b/components/soc/esp32s31/register/soc/i2c_reg.h @@ -1141,10 +1141,10 @@ extern "C" { * 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. * ack_check_en, ack_exp, and ack are used to control the ACK bit. See I2C cmd diff --git a/components/soc/esp32s31/register/soc/lp_i2c_struct.h b/components/soc/esp32s31/register/soc/lp_i2c_struct.h index cdbc746ca14..fd0ddd40077 100644 --- a/components/soc/esp32s31/register/soc/lp_i2c_struct.h +++ b/components/soc/esp32s31/register/soc/lp_i2c_struct.h @@ -771,10 +771,10 @@ typedef union { * 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. * ack_check_en, ack_exp, and ack are used to control the ACK bit. See I2C cmd