关于S5PV210 的ADC和触摸屏控制器

         The 10-bit or 12-bit CMOS Analog to Digital Converter (ADC) comprises of 10-channel analog inputs. It converts
the analog input signal into 10-bit or 12-bit binary digital codes at a maximum conversion rate of 1MSPS with
5MHz A/D converter clock. A/D converter operates with on-chip sample-and-hold function. ADC supports low
power mode.  
Touch Screen Interface can control input pads (XP, XM, YP, and YM) to obtain X/Y-position on the external touch
screen device. Touch Screen Interface contains three main blocks, namely, touch screen pads control logic, ADC
interface logic and interrupt generation logic. There are two set of touch screen interfaces, which share one ADC.

 

 

 

——晕,S5PV210 居然有两组触摸屏接口,并且是公用一个AD 控制器,那么这样按照道理S5PV210 也有两个LCD控制器才对,不然两个触摸屏控制器也没用啊。

嘿嘿,我只要一个触摸屏就可以了,那么另外一个触摸屏控制占用的AD 应该用作普通的AD没问题的,继续看。

 

7.4.4  TWO TOUCH SCREEN INTERFACES
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. 

 

 

NOTE:  
1.  When touch screen is not used, the touch screen ports (AIN2 ~ AIN9) can be used as analog input ports for ADC.

 

这个还差不多。不错,不错。

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 12
    评论
评论 12
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值