Orange Pi Manual
Copy right by Shenzhen Xunlong Software Co., Ltd
www.orangepi.org
www.xunlong.tv
50
ctp_int_port=xx
GPIO configuration of the interrupt signal of
capacitive touch panel
ctp_wakeup=xx
GPIO configuration of the wake-up signal of
capacitive touch panel
ctp_io_port=xx
Capacitive screen IO signal, currently share
with interrupt signal common pin
Configuration samples:
ctp_used
= 1
ctp_name
= "ft5x_ts"
ctp_twi_id
= 2
ctp_twi_addr
= 0x70
ctp_screen_max_x
= 800
ctp_screen_max_y
= 480
ctp_revert_x_flag
= 0
ctp_revert_y_flag
= 0
ctp_int_port
= port:PH21<6><default>
ctp_wakeup
= port:PB13<1><default><default><1>
ctp_io_port
= port:PH21<0><default>
Note: If you want to support the new capacitive touch IC, you need to
combine the configuration of the BSP A10 layer, which should be based on
the original capacitive touch IC code, to make the appropriate changes.
Specifically, 1) ctp_twi_id should be consistent with the hardware
connection in sys_config; 2) In the drive part of the code: the use of twi from
the device name + address should be consistent with the ctp_name and
ctp_twi_addr in sys_config configuration. At the same time, the other sub
configuration in sysconfig should also be properly configured, these
configurations should be corresponding processing in the program.