And finally, the driver is tightly coupled with various APIs and applications, and you may have to debug a device driver where interrupt losses and out-of-sequence interrupts happen.
最后,驱动程序与API和应用程序是紧耦合的,需要调试设备驱动程序在中断丢失和乱序发生时的情况。
The role of the device driver, then, is to query the touch screen controller whenever an interrupt occurs, and to ask the controller to send the coordinates of the touch.
然后,这个设备驱动程序的角色是每当出现中断时就查询触摸屏控制器,并请求控制器发送触摸的坐标。
Every interrupt runs a function called an interrupt handler, which must be tailored to the device and therefore is installed by the device driver.
每一个中断是以一个被称为中断处理的函数调用来运行的,这些必须可以通过安装的设备驱动程序,根据设备被裁剪。
应用推荐