mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
cd48baf979
When creating G0 layer, some regi2c_*.h headers were moved out from esp_hw_support (G1) to soc (G0). In order to be consistent with that change, move all the remaining regi2c_*.h headers to soc too.
23 lines
553 B
C
23 lines
553 B
C
/*
|
|
* SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/**
|
|
* @file regi2c_bias.h
|
|
* @brief Register definitions for bias
|
|
*
|
|
* This file lists register fields of BIAS. These definitions are used via macros defined in regi2c_ctrl.h, by
|
|
* bootloader_hardware_init function in bootloader_esp32c2.c.
|
|
*/
|
|
|
|
#define I2C_BIAS 0X6A
|
|
#define I2C_BIAS_HOSTID 0
|
|
|
|
#define I2C_BIAS_DREG_1P1_PVT 1
|
|
#define I2C_BIAS_DREG_1P1_PVT_MSB 3
|
|
#define I2C_BIAS_DREG_1P1_PVT_LSB 0
|