mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
35 lines
984 B
C
35 lines
984 B
C
/*
|
|
* SPDX-FileCopyrightText: 2023 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
|
|
* rtc_clk_init function in esp32p4/rtc_clk_init.c.
|
|
*/
|
|
|
|
#define I2C_BIAS 0x6A
|
|
#define I2C_BIAS_HOSTID 0
|
|
|
|
#define I2C_BIAS_OR_FORCE_XPD_CK 4
|
|
#define I2C_BIAS_OR_FORCE_XPD_CK_MSB 0
|
|
#define I2C_BIAS_OR_FORCE_XPD_CK_LSB 0
|
|
|
|
#define I2C_BIAS_OR_FORCE_XPD_REF_OUT_BUF 4
|
|
#define I2C_BIAS_OR_FORCE_XPD_REF_OUT_BUF_MSB 1
|
|
#define I2C_BIAS_OR_FORCE_XPD_REF_OUT_BUF_LSB 1
|
|
|
|
#define I2C_BIAS_OR_FORCE_XPD_IPH 4
|
|
#define I2C_BIAS_OR_FORCE_XPD_IPH_MSB 2
|
|
#define I2C_BIAS_OR_FORCE_XPD_IPH_LSB 2
|
|
|
|
#define I2C_BIAS_OR_FORCE_XPD_VGATE_BUF 4
|
|
#define I2C_BIAS_OR_FORCE_XPD_VGATE_BUF_MSB 3
|
|
#define I2C_BIAS_OR_FORCE_XPD_VGATE_BUF_LSB 3
|