论文部分内容阅读
INTEL8279是一种通用的可编程键盘、显示接口芯片,它具有自己的命令字,能定义多种工作方式,给设备功能开发带来很大潜力,也带来很多方便.但是INTEL8279会造成系统“死键”而其它功能照旧.往往使人们莫名其妙,我在开发“32路摄象机电脑控制装置”时,采用80C31为CPU,将8279定义为键盘显示方式,就碰到过这事,后来发现通讯模块占用机时时,键盘模块有过多数据采集请求,造成IN- TEL8279的FIFO状态字出错,便出现上述现象.我采用定时中断查FIFO状态字的方案,发现状态字出错,便重新初始化INTEL8279,否则返回中断,就解决了“死键”问题,又不影响其它软件.程序如下:
INTEL8279 is a general-purpose programmable keyboard, display interface chip, it has its own command word, can define a variety of ways of working, to the device function development has great potential, but also brings a lot of convenience.But INTEL8279 will cause the system “ Dead key ”and other functions as usual. Often make people inexplicable, I was in the development of“ 32-channel camera computer control device ”, the use of 80C31 for the CPU, 8279 will be defined as the keyboard display, it happened, and later found Communication module occupy the machine from time to time, the keyboard module has too many data acquisition requests, resulting in IN-TEL8279 FIFO status word error, which occurs when I use the timer interrupt check FIFO status word program, found that the status word error, it reinitialized INTEL8279 , Or return to interrupt, to solve the “dead key” problem, without affecting the other software. The procedure is as follows: