Source code for a monolithic driver consists of both interrupt service thread code and platform specific code.
单体驱动的源代码由中断服务线程和平台相关的代码组成。
In such a case, implementing a monolithic driver might be simpler and more efficient than implementing a layered driver.
在这些情况下,实现为单体驱动就要比分层驱动更加简单而且更加高效。
Regardless of whether you implement a monolithic driver or a layered driver, you can base your implementation on the source code for any of the sample drivers.
不管是实现为单体驱动还是分层的驱动,所有的示例驱动都可以作为实现驱动程序的参考。
You might also choose to implement a monolithic driver if the capabilities of your device are well matched to the tasks that the functions in the MDD layer perform.
如果你的设备的功能与MDD层功能函数非常一致,你也可以将驱动实现为单体。
You might also choose to implement a monolithic driver if the capabilities of your device are well matched to the tasks that the functions in the MDD layer perform.
如果你的设备的功能与MDD层功能函数非常一致,你也可以将驱动实现为单体。
应用推荐