Espressif ESP32-S2 Programming Manual page 427

Table of Contents

Advertisement

Chapter 2. API Reference
enum touch_trigger_mode_t
Values:
TOUCH_TRIGGER_BELOW = 0
Touch interrupt will happen if counter value is less than threshold.
TOUCH_TRIGGER_ABOVE = 1
Touch interrupt will happen if counter value is larger than threshold.
TOUCH_TRIGGER_MAX
enum touch_trigger_src_t
Values:
TOUCH_TRIGGER_SOURCE_BOTH = 0
wakeup interrupt is generated if both SET1 and SET2 are "touched"
TOUCH_TRIGGER_SOURCE_SET1 = 1
wakeup interrupt is generated if SET1 is "touched"
TOUCH_TRIGGER_SOURCE_MAX
enum touch_pad_intr_mask_t
Values:
TOUCH_PAD_INTR_MASK_DONE = BIT(0)
Measurement done for one of the enabled channels.
TOUCH_PAD_INTR_MASK_ACTIVE = BIT(1)
Active for one of the enabled channels.
TOUCH_PAD_INTR_MASK_INACTIVE = BIT(2)
Inactive for one of the enabled channels.
TOUCH_PAD_INTR_MASK_SCAN_DONE = BIT(3)
Measurement done for all the enabled channels.
TOUCH_PAD_INTR_MASK_TIMEOUT = BIT(4)
Timeout for one of the enabled channels.
enum touch_pad_denoise_grade_t
Values:
TOUCH_PAD_DENOISE_BIT12 = 0
Denoise range is 12bit
TOUCH_PAD_DENOISE_BIT10 = 1
Denoise range is 10bit
TOUCH_PAD_DENOISE_BIT8 = 2
Denoise range is 8bit
TOUCH_PAD_DENOISE_BIT4 = 3
Denoise range is 4bit
TOUCH_PAD_DENOISE_MAX
enum touch_pad_denoise_cap_t
Values:
TOUCH_PAD_DENOISE_CAP_L0 = 0
Denoise channel internal reference capacitance is 5pf
TOUCH_PAD_DENOISE_CAP_L1 = 1
Denoise channel internal reference capacitance is 6.4pf
TOUCH_PAD_DENOISE_CAP_L2 = 2
Denoise channel internal reference capacitance is 7.8pf
Espressif Systems
416
Submit Document Feedback
Release v4.4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2 and is the answer not in the manual?

Table of Contents

Save PDF