mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
24 lines
651 B
C
24 lines
651 B
C
/*
|
|
* SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define SOC_ADC1_DATA_INVERT_DEFAULT (0)
|
|
#define SOC_ADC2_DATA_INVERT_DEFAULT (0)
|
|
|
|
#define SOC_ADC_DIGI_DATA_INVERT_DEFAULT(PERIPH_NUM) (0)
|
|
|
|
#define SOC_ADC_FSM_RSTB_WAIT_DEFAULT (8)
|
|
#define SOC_ADC_FSM_START_WAIT_DEFAULT (5)
|
|
#define SOC_ADC_FSM_STANDBY_WAIT_DEFAULT (100)
|
|
#define ADC_FSM_SAMPLE_CYCLE_DEFAULT (2)
|
|
|
|
#define SOC_ADC_PWDET_CCT_DEFAULT (4)
|
|
|
|
#define SOC_ADC_SAR_CLK_DIV_DEFAULT(PERIPH_NUM) ((PERIPH_NUM==0)? 2 : 1)
|
|
|
|
#define SOC_ADC_DIGI_SAR_CLK_DIV_DEFAULT (1)
|