Orange Pi PC2 User Manual page 48

Table of Contents

Advertisement

Orange Pi Manual
ctp_revert_y_flag=xx
ctp_int_port=xx
ctp_wakeup=xx
ctp_io_port=xx
Configuration samples:
ctp_used
ctp_name
ctp_twi_id
ctp_twi_addr
ctp_screen_max_x
ctp_screen_max_y
ctp_revert_x_flag
ctp_revert_y_flag
ctp_int_port
ctp_wakeup
ctp_io_port
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.
www.orangepi.org
Copy right by Shenzhen Xunlong Software Co., Ltd
coordinates, if so then set 1, and
vice verso 0.
Whether needed to flip the Y
coordinates, if so then set 1, and
vice verso 0.
GPIO configuration of the interrupt
signal of capacitive touch panel
GPIO configuration of the wake-up
signal of capacitive touch panel
Capacitive
currently share with interrupt signal
common pin
= 1
= "ft5x_ts"
= 2
= 0x70
= 800
= 480
= 0
= 0
= port:PH21<6><default>
= port:PB13<1><default><default><1>
= port:PH21<0><default>
46
screen
IO
signal,
www.xunlong.tv

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents