文件名称:mini2440 ADC+触摸屏驱动
文件大小:10KB
文件格式:BZ2
更新时间:2015-10-27 16:19:27
mini2440 ADC驱动 触摸屏驱动
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