登录 注册
当前位置:主页 > 资源下载 > 15 > 触摸屏及ADC驱动在mini2440上的实现

触摸屏及ADC驱动在mini2440上的实现

  • 更新:2024-10-26 11:46:56
  • 大小:10KB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:Linux - 操作系统
  • 格式:BZ2

资源介绍

mini2440的ADC驱动和触摸屏驱动, 包括修改后mini2440的BSP(linux-2.6.39.4). ADC驱动注册为misc device, 挂载再platform bus 触摸屏驱动注册为input device, 挂载再platform bus上, 并根据官方自带的BSP进行修改, 使它隶属于option peature。 测试信息: #/home/readadc adc value: 416 Do you want to read again?n #/home/test_input Type is 1, code is 330, value is 1. ABS_PRESSURE = 1 x = 201. y = 327. Type is 0, code is 0, value is 0. x = 200. y = 329. Type is 0, code is 0, value is 0. x = 201. y = 330. Type is 0, code is 0, value is 0. y = 326. Type is 0, code is 0, value is 0. x = 206. y = 319. Type is 0, code is 0, value is 0. x = 211. y = 314. Type is 0, code is 0, value is 0. x = 219. #/home/readadc adc value: 416 Do you want to read again?n