摘要
触摸屏逐渐取代键盘成为嵌入式系统常选用的人机交互工具。本文以电阻式触摸屏和触摸屏控制器ADS7846为例介绍了触摸屏及其控制器的原理,然后在分析SPI的基本原理与逻辑结构基础上,对Motorola 32位微控制器MMC2107的SPI模块编程结构进行了较深入的剖析,给出了基本的编程要点。最后以一个应用实例说明如何用触摸屏及其控制器构成嵌入式系统的输入系统。
In recent years, the touch- screen gradually began to replace the keyboard and became an important Computer Human Interaction tool used in the embedded system. Based on the resistance touch- screen and its controller ADS7846 example, this paper intro- duces the principle of touchscreen and its controller. And by anatomy of the SPI module in MMC2107(a new Motorola serial 32 bit MCU) , we propose basic programming points. In the end it gives an appliance instance to show how to form the input system of the embedded system with them.
出处
《计算机与数字工程》
2006年第4期139-142,共4页
Computer & Digital Engineering