[ESP32/XPT2046] How to verify if touch interrupt is being used?

Description

I’m trying to determine whether my LVGL implementation is using interrupt or polling mode for touch detection with XPT2046.

What MCU/Processor/Board and compiler are you using?

  • Board: ESP32-WROOM-32E-N4
  • Display: 2.8" 320×240 ILI9341 TFT
  • Touch Controller: XPT2046
  • IDE: Arduino IDE 2.3.6

What LVGL version are you using?

  • LVGL: 9.2.2
  • TFT_eSPI: 2.5.43
  • ESP32 board manager in Arduino IDE by Espressif: 3.2.0

What do you want to achieve?

  1. How can I verify whether touch interrupts are being used?
  2. What’s the recommended way to switch from polling to interrupt mode?
  3. Are there any performance indicators that would show the difference?

What have you tried so far?

  • Widgets demo works perfectly (both display and touch)
  • Using default LVGL + TFT_eSPI configuration
  • Haven’t explicitly configured touch interrupt

Code to reproduce

No code for now. I use the default LVGL and TFT-eSPI configuration.

Screenshot and/or video

No.