touch_sensor_periph.c 569 B

123456789101112131415161718192021
  1. /*
  2. * SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #include "soc/touch_sensor_periph.h"
  7. /* Store IO number corresponding to the Touch Sensor channel number. */
  8. const int touch_sensor_channel_io_map[] = {
  9. TOUCH_PAD_NUM0_GPIO_NUM,
  10. TOUCH_PAD_NUM1_GPIO_NUM,
  11. TOUCH_PAD_NUM2_GPIO_NUM,
  12. TOUCH_PAD_NUM3_GPIO_NUM,
  13. TOUCH_PAD_NUM4_GPIO_NUM,
  14. TOUCH_PAD_NUM5_GPIO_NUM,
  15. TOUCH_PAD_NUM6_GPIO_NUM,
  16. TOUCH_PAD_NUM7_GPIO_NUM,
  17. TOUCH_PAD_NUM8_GPIO_NUM,
  18. TOUCH_PAD_NUM9_GPIO_NUM
  19. };