mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
gpio: remove legacy rtc_io description for esp32
This commit is contained in:
parent
3b371d2d64
commit
d8f2eaf94e
@ -156,20 +156,6 @@ menu "Driver configurations"
|
|||||||
|
|
||||||
endmenu # UART Configuration
|
endmenu # UART Configuration
|
||||||
|
|
||||||
menu "RTCIO configuration"
|
|
||||||
visible if IDF_TARGET_ESP32
|
|
||||||
|
|
||||||
config RTCIO_SUPPORT_RTC_GPIO_DESC
|
|
||||||
bool "Support array `rtc_gpio_desc` for ESP32"
|
|
||||||
depends on IDF_TARGET_ESP32
|
|
||||||
default n
|
|
||||||
help
|
|
||||||
The the array `rtc_gpio_desc` will don't compile by default.
|
|
||||||
If this option is selected, the array `rtc_gpio_desc` can be compile.
|
|
||||||
If user use this array, please enable this configuration.
|
|
||||||
|
|
||||||
endmenu # RTCIO Configuration
|
|
||||||
|
|
||||||
menu "GPIO Configuration"
|
menu "GPIO Configuration"
|
||||||
visible if IDF_TARGET_ESP32
|
visible if IDF_TARGET_ESP32
|
||||||
|
|
||||||
|
@ -1,16 +1,8 @@
|
|||||||
// Copyright 2018 Espressif Systems (Shanghai) PTE LTD
|
/*
|
||||||
//
|
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
*
|
||||||
// you may not use this file except in compliance with the License.
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
// You may obtain a copy of the License at
|
*/
|
||||||
//
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
//
|
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
// See the License for the specific language governing permissions and
|
|
||||||
// limitations under the License.
|
|
||||||
|
|
||||||
#include "soc/rtc_io_periph.h"
|
#include "soc/rtc_io_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OUCH_PAD7_HOLD_FORCE_M, RTC_IO_TOUCH_PAD7_DRV_V, RTC_IO_TOUCH_PAD7_DRV_S, RTCIO_CHANNEL_17_GPIO_NUM},//27
|
{RTC_IO_TOUCH_PAD7_REG, RTC_IO_TOUCH_PAD7_MUX_SEL_M, RTC_IO_TOUCH_PAD7_FUN_SEL_S, RTC_IO_TOUCH_PAD7_FUN_IE_M, RTC_IO_TOUCH_PAD7_RUE_M, RTC_IO_TOUCH_PAD7_RDE_M, RTC_IO_TOUCH_PAD7_SLP_SEL_M, RTC_IO_TOUCH_PAD7_SLP_IE_M, 0, RTC_IO_TOUCH_PAD7_HOLD_M, RTC_CNTL_TOUCH_PAD7_HOLD_FORCE_M, RTC_IO_TOUCH_PAD7_DRV_V, RTC_IO_TOUCH_PAD7_DRV_S, RTCIO_CHANNEL_17_GPIO_NUM},//27
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_RTCIO_SUPPORT_RTC_GPIO_DESC
|
|
||||||
//Reg,Mux,Fun,IE,Up,Down,Rtc_number
|
|
||||||
const rtc_gpio_desc_t rtc_gpio_desc[SOC_GPIO_PIN_COUNT] = {
|
|
||||||
{RTC_IO_TOUCH_PAD1_REG, RTC_IO_TOUCH_PAD1_MUX_SEL_M, RTC_IO_TOUCH_PAD1_FUN_SEL_S, RTC_IO_TOUCH_PAD1_FUN_IE_M, RTC_IO_TOUCH_PAD1_RUE_M, RTC_IO_TOUCH_PAD1_RDE_M, RTC_IO_TOUCH_PAD1_SLP_SEL_M, RTC_IO_TOUCH_PAD1_SLP_IE_M, RTC_IO_TOUCH_PAD1_HOLD_M, RTC_CNTL_TOUCH_PAD1_HOLD_FORCE_M, RTC_IO_TOUCH_PAD1_DRV_V, RTC_IO_TOUCH_PAD1_DRV_S, RTCIO_GPIO0_CHANNEL}, //0
|
|
||||||
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1}, //1
|
|
||||||
{RTC_IO_TOUCH_PAD2_REG, RTC_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IO_X32P_FUN_IE_M, RTC_IO_X32P_RUE_M, RTC_IO_X32P_RDE_M, RTC_IO_X32P_SLP_SEL_M, RTC_IO_X32P_SLP_IE_M, RTC_IO_X32P_HOLD_M, RTC_CNTL_X32P_HOLD_FORCE_M, RTC_IO_X32P_DRV_V, RTC_IO_X32P_DRV_S, RTCIO_GPIO32_CHANNEL}, //32
|
|
||||||
{RTC_IO_XTAL_32K_PAD_REG, RTC_IO_X32N_MUX_SEL_M, RTC_IO_X32N_FUN_SEL_S, RTC_IO_X32N_FUN_IE_M, RTC_IO_X32N_RUE_M, RTC_IO_X32N_RDE_M, RTC_IO_X32N_SLP_SEL_M, RTC_IO_X32N_SLP_IE_M, RTC_IO_X32N_HOLD_M, RTC_CNTL_X32N_HOLD_FORCE_M, RTC_IO_X32N_DRV_V, RTC_IO_X32N_DRV_S, RTCIO_GPIO33_CHANNEL}, //33
|
|
||||||
{RTC_IO_ADC_PAD_REG, RTC_IO_ADC1_MUX_SEL_M, RTC_IO_ADC1_FUN_SEL_S, RTC_IO_ADC1_FUN_IE_M, 0, 0, RTC_IO_ADC1_SLP_SEL_M, RTC_IO_ADC1_SLP_IE_M, RTC_IO_ADC1_HOLD_M, RTC_CNTL_ADC1_HOLD_FORCE_M, 0, 0, RTCIO_GPIO34_CHANNEL}, //34
|
|
||||||
{RTC_IO_ADC_PAD_REG, RTC_IO_ADC2_MUX_SEL_M, RTC_IO_ADC2_FUN_SEL_S, RTC_IO_ADC2_FUN_IE_M, 0, 0, RTC_IO_ADC2_SLP_SEL_M, RTC_IO_ADC2_SLP_IE_M, RTC_IO_ADC2_HOLD_M, RTC_CNTL_ADC2_HOLD_FORCE_M, 0, 0, RTCIO_GPIO35_CHANNEL}, //35
|
|
||||||
{RTC_IO_SENSOR_PADS_REG, RTC_IO_SENSE1_MUX_SEL_M, RTC_IO_SENSE1_FUN_SEL_S, RTC_IO_SENSE1_FUN_IE_M, 0, 0, RTC_IO_SENSE1_SLP_SEL_M, RTC_IO_SENSE1_SLP_IE_M, RTC_IO_SENSE1_HOLD_M, RTC_CNTL_SENSE1_HOLD_FORCE_M, 0, 0, RTCIO_GPIO36_CHANNEL}, //36
|
|
||||||
{RTC_IO_SENSOR_PADS_REG, RTC_IO_SENSE2_MUX_SEL_M, RTC_IO_SENSE2_FUN_SEL_S, RTC_IO_SENSE2_FUN_IE_M, 0, 0, RTC_IO_SENSE2_SLP_SEL_M, RTC_IO_SENSE2_SLP_IE_M, RTC_IO_SENSE2_HOLD_M, RTC_CNTL_SENSE2_HOLD_FORCE_M, 0, 0, RTCIO_GPIO37_CHANNEL}, //37
|
|
||||||
{RTC_IO_SENSOR_PADS_REG, RTC_IO_SENSE3_MUX_SEL_M, RTC_IO_SENSE3_FUN_SEL_S, RTC_IO_SENSE3_FUN_IE_M, 0, 0, RTC_IO_SENSE3_SLP_SEL_M, RTC_IO_SENSE3_SLP_IE_M, RTC_IO_SENSE3_HOLD_M, RTC_CNTL_SENSE3_HOLD_FORCE_M, 0, 0, RTCIO_GPIO38_CHANNEL}, //38
|
|
||||||
{RTC_IO_SENSOR_PADS_REG, RTC_IO_SENSE4_MUX_SEL_M, RTC_IO_SENSE4_FUN_SEL_S, RTC_IO_SENSE4_FUN_IE_M, 0, 0, RTC_IO_SENSE4_SLP_SEL_M, RTC_IO_SENSE4_SLP_IE_M, RTC_IO_SENSE4_HOLD_M, RTC_CNTL_SENSE4_HOLD_FORCE_M, 0, 0, RTCIO_GPIO39_CHANNEL}, //39
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif //CONFIG_RTCIO_SUPPORT_RTC_GPIO_DESC
|
|
||||||
|
@ -1,19 +1,12 @@
|
|||||||
// Copyright 2019 Espressif Systems (Shanghai) PTE LTD
|
/*
|
||||||
//
|
* SPDX-FileCopyrightText: 2019-2022 Espressif Systems (Shanghai) CO LTD
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
*
|
||||||
// you may not use this file except in compliance with the License.
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
// You may obtain a copy of the License at
|
*/
|
||||||
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
//
|
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
// See the License for the specific language governing permissions and
|
|
||||||
// limitations under the License.
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
#include "soc/soc.h"
|
#include "soc/soc.h"
|
||||||
//include soc related (generated) definitions
|
//include soc related (generated) definitions
|
||||||
#include "soc/soc_caps.h"
|
#include "soc/soc_caps.h"
|
||||||
@ -79,40 +72,6 @@ extern const rtc_io_desc_t rtc_io_desc[SOC_RTCIO_PIN_COUNT];
|
|||||||
*/
|
*/
|
||||||
extern const int rtc_io_num_map[SOC_GPIO_PIN_COUNT];
|
extern const int rtc_io_num_map[SOC_GPIO_PIN_COUNT];
|
||||||
|
|
||||||
#ifdef CONFIG_RTCIO_SUPPORT_RTC_GPIO_DESC
|
|
||||||
/**
|
|
||||||
* @brief Pin function information for a single GPIO pad's RTC functions.
|
|
||||||
*
|
|
||||||
* This is an internal function of the driver, and is not usually useful
|
|
||||||
* for external use.
|
|
||||||
*/
|
|
||||||
typedef struct {
|
|
||||||
uint32_t reg; /*!< Register of RTC pad, or 0 if not an RTC GPIO */
|
|
||||||
uint32_t mux; /*!< Bit mask for selecting digital pad or RTC pad */
|
|
||||||
uint32_t func; /*!< Shift of pad function (FUN_SEL) field */
|
|
||||||
uint32_t ie; /*!< Mask of input enable */
|
|
||||||
uint32_t pullup; /*!< Mask of pullup enable */
|
|
||||||
uint32_t pulldown; /*!< Mask of pulldown enable */
|
|
||||||
uint32_t slpsel; /*!< If slpsel bit is set, slpie will be used as pad input enabled signal in sleep mode */
|
|
||||||
uint32_t slpie; /*!< Mask of input enable in sleep mode */
|
|
||||||
uint32_t hold; /*!< Mask of hold enable */
|
|
||||||
uint32_t hold_force;/*!< Mask of hold_force bit for RTC IO in RTC_CNTL_HOLD_FORCE_REG */
|
|
||||||
uint32_t drv_v; /*!< Mask of drive capability */
|
|
||||||
uint32_t drv_s; /*!< Offset of drive capability */
|
|
||||||
int rtc_num; /*!< RTC IO number, or -1 if not an RTC GPIO */
|
|
||||||
} rtc_gpio_desc_t;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Provides access to a constant table of RTC I/O pin
|
|
||||||
* function information.
|
|
||||||
*
|
|
||||||
* This is an internal function of the driver, and is not usually useful
|
|
||||||
* for external use.
|
|
||||||
*/
|
|
||||||
extern const rtc_gpio_desc_t rtc_gpio_desc[SOC_GPIO_PIN_COUNT];
|
|
||||||
|
|
||||||
#endif // CONFIG_RTCIO_SUPPORT_RTC_GPIO_DESC
|
|
||||||
|
|
||||||
#endif // SOC_RTCIO_INPUT_OUTPUT_SUPPORTED
|
#endif // SOC_RTCIO_INPUT_OUTPUT_SUPPORTED
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -21,3 +21,8 @@ ADC
|
|||||||
---
|
---
|
||||||
|
|
||||||
Previous `driver/adc2_wifi_private.h` has been moved to `esp_private/adc2_wifi.h`.
|
Previous `driver/adc2_wifi_private.h` has been moved to `esp_private/adc2_wifi.h`.
|
||||||
|
|
||||||
|
GPIO
|
||||||
|
----
|
||||||
|
|
||||||
|
The previous Kconfig option `RTCIO_SUPPORT_RTC_GPIO_DESC` has been removed, thus the ``rtc_gpio_desc`` array is unavailable. Please use ``rtc_io_desc`` array instead.
|
||||||
|
@ -1652,7 +1652,6 @@ components/soc/esp32/ledc_periph.c
|
|||||||
components/soc/esp32/mcpwm_periph.c
|
components/soc/esp32/mcpwm_periph.c
|
||||||
components/soc/esp32/pcnt_periph.c
|
components/soc/esp32/pcnt_periph.c
|
||||||
components/soc/esp32/rmt_periph.c
|
components/soc/esp32/rmt_periph.c
|
||||||
components/soc/esp32/rtc_io_periph.c
|
|
||||||
components/soc/esp32/sdio_slave_periph.c
|
components/soc/esp32/sdio_slave_periph.c
|
||||||
components/soc/esp32/sdmmc_periph.c
|
components/soc/esp32/sdmmc_periph.c
|
||||||
components/soc/esp32/sigmadelta_periph.c
|
components/soc/esp32/sigmadelta_periph.c
|
||||||
@ -2018,7 +2017,6 @@ components/soc/include/soc/mcpwm_periph.h
|
|||||||
components/soc/include/soc/pcnt_periph.h
|
components/soc/include/soc/pcnt_periph.h
|
||||||
components/soc/include/soc/rmt_periph.h
|
components/soc/include/soc/rmt_periph.h
|
||||||
components/soc/include/soc/rtc_cntl_periph.h
|
components/soc/include/soc/rtc_cntl_periph.h
|
||||||
components/soc/include/soc/rtc_io_periph.h
|
|
||||||
components/soc/include/soc/rtc_periph.h
|
components/soc/include/soc/rtc_periph.h
|
||||||
components/soc/include/soc/sdio_slave_periph.h
|
components/soc/include/soc/sdio_slave_periph.h
|
||||||
components/soc/include/soc/sdmmc_periph.h
|
components/soc/include/soc/sdmmc_periph.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user