mirror of
https://github.com/espressif/esp-idf.git
synced 2026-02-07 23:30:14 +00:00
Merge branch 'bugfix/touch_pad_driver' into 'master'
driver(touch): fix bug and add more features See merge request !1056
This commit is contained in:
@@ -18,6 +18,7 @@ Peripherals API
|
||||
SPI Master <spi_master>
|
||||
SPI Slave <spi_slave>
|
||||
Timer <timer>
|
||||
Touch pad <touch_pad>
|
||||
UART <uart>
|
||||
|
||||
Example code for this API section is provided in :example:`peripherals` directory of ESP-IDF examples.
|
||||
|
||||
23
docs/api-reference/peripherals/touch_pad.rst
Normal file
23
docs/api-reference/peripherals/touch_pad.rst
Normal file
@@ -0,0 +1,23 @@
|
||||
Touch sensor
|
||||
===========
|
||||
|
||||
Overview
|
||||
--------
|
||||
|
||||
A touch-sensor system is built on a substrate which carries electrodes and relevant connections under a protective flat surface.
|
||||
When a user touches the surface, the capacitance variation is triggered and a binary signal is generated to indicate whether the touch is valid.
|
||||
|
||||
ESP32 can provide up to 10 capacitive touch pads / GPIOs. The sensing pads can be arranged in different combinations,
|
||||
so that a larger area or more points can be detected. The touch pad sensing process is under the control of a hardware-implemented finite-state machine (FSM) which is initiated by software or a dedicated hardware timer.
|
||||
|
||||
Application Example
|
||||
-------------------
|
||||
|
||||
Touch sensor read example: :example:`peripherals/touch_pad_read`.
|
||||
Touch sensor interrupt example: :example:`peripherals/touch_pad_interrupt`.
|
||||
|
||||
API Reference
|
||||
-------------
|
||||
|
||||
.. include:: /_build/inc/touch_pad.inc
|
||||
|
||||
Reference in New Issue
Block a user