mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-09 00:23:00 +00:00
feat(touch_sens): add example for the touch sensor v3
This commit is contained in:

committed by
Kevin (Lao Kaiyao)

parent
8a6f25738c
commit
82cba6e3ff
@@ -1,15 +1,20 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "sdkconfig.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// TODO: [ESP32P4] add P4 when runner is ready
|
||||
#define EXAMPLE_TOUCH_LSLEEP_WAKEUP_SUPPORT (CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3)
|
||||
|
||||
void example_wait_gpio_inactive(void);
|
||||
|
||||
esp_err_t example_register_gpio_wakeup(void);
|
||||
@@ -18,7 +23,7 @@ esp_err_t example_register_timer_wakeup(void);
|
||||
|
||||
esp_err_t example_register_uart_wakeup(void);
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
|
||||
#if EXAMPLE_TOUCH_LSLEEP_WAKEUP_SUPPORT
|
||||
void example_register_touch_wakeup(void);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user