1 /* 2 * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #pragma once 8 9 /** 10 * @file regi2c_bias.h 11 * @brief Register definitions for bias 12 * 13 * This file lists register fields of BIAS. These definitions are used via macros defined in regi2c_ctrl.h, by 14 * bootloader_hardware_init function in bootloader_esp32c3.c. 15 */ 16 17 #define I2C_BIAS 0X6A 18 #define I2C_BIAS_HOSTID 0 19 20 #define I2C_BIAS_DREG_0P8 0 21 #define I2C_BIAS_DREG_0P8_MSB 7 22 #define I2C_BIAS_DREG_0P8_LSB 4 23 24 #define I2C_BIAS_DREG_1P1_PVT 1 25 #define I2C_BIAS_DREG_1P1_PVT_MSB 3 26 #define I2C_BIAS_DREG_1P1_PVT_LSB 0 27