作者: seakymile 时间: 2012-7-22 13:23
帮你顶一下
你这个应该是电阻屏的驱动吧,我这几天在看电容屏的驱动,是用系统的I2C接口,关于resource的话系统已经初始化,并且会预先创建几个adapter(和通道数有关系的),应该不需要我们修改了,我们修改的应该是设备驱动层,将设备名称和定义和资源中的一致,然后获取一个adapter就可以使用了吧,I2C是这样的,不晓得电阻屏的驱动架构是不是这样子的。作者: adc0809 时间: 2012-7-24 17:36
好好看下这句话:There are two set of touch screen interfaces, namely, AIN[5] ~ AIN[2] for touch screen 0 and AIN[9] ~ AIN[6] for
touch screen 1. There are separate switches for XP, XM, YP and YM control and separate registers to interface
with two touch screens. They share one analog digital converter, so interfacing with the two touch screens should
be performed in turn. TSSEL bit of TSADCCON0 register is used to select which touch screen is connected to the
ADC. Therefore, you must set ‘1’ to TSSEL before an access to TSADCCON1. Similarly, you must set ‘0’ to
TSSEL before an access to TSADCCON0.
An access to TSADCCON1 bits is prohibited when TSSEL bit is ‘0’, and an access to TSADCCON0 bits except
TSSEL is also prohibited when TSSEL bit is ‘1’.An access to TSSEL bit is always permitted.作者: pon 时间: 2012-8-6 12:37
X210ii 的電容屏接口沒有電源和接地腳, 你們是怎樣供電給電容屏驅動ic的?