44 lines
1.4 KiB
Plaintext
44 lines
1.4 KiB
Plaintext
# LISA Touch Driver Configuration - CST328
|
|
#
|
|
# Copyright (c) 2025, LISTENAI
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config LISA_TOUCH_ARCS_CST328
|
|
bool "Enable LISA Touch ARCS CST328 support"
|
|
default n
|
|
help
|
|
Enable LISA Touch ARCS CST328 touch chip support.
|
|
|
|
CST328 Features:
|
|
- I2C Address: 0x1D (7-bit)
|
|
- Register: 0xD000 (16-bit, little-endian)
|
|
- Resolution: 240x320
|
|
- Single touch point
|
|
- Interrupt trigger: Rising edge
|
|
- Reset sequence: High->Low->High (10ms-10ms-200ms)
|
|
|
|
if LISA_TOUCH_ARCS_CST328
|
|
|
|
config LISA_TOUCH_ARCS_CST328_READ_TASK_PRIORITY
|
|
int "CST328 interrupt mode read task priority"
|
|
default 2
|
|
range 1 10
|
|
help
|
|
Set the priority of the CST328 touch driver's internal read task.
|
|
|
|
This task is created when interrupt mode is enabled and is responsible
|
|
for reading I2C data from the touch chip after receiving a GPIO interrupt.
|
|
|
|
Priority range: 1-10 (higher number = higher priority)
|
|
Default: 2 (tskIDLE_PRIORITY + 2)
|
|
|
|
Note:
|
|
- Higher priority ensures faster response to touch events
|
|
- Should be higher than idle task (1) but lower than critical system tasks
|
|
- Recommended range: 2-5 for most applications
|
|
|
|
endif # LISA_TOUCH_ARCS_CST328
|
|
|
|
|
|
|