设备驱动程序模块
创建设备驱动程序模块以访问硬件板的特定功能
设备驱动程序模块是一种特殊形式的 MATLAB System 模块,当部署到 Raspberry Pi® 硬件板时,它会生成自定义 C/C++ 设备驱动程序代码。通过设备驱动程序模块可轻松访问硬件板功能,例如访问默认情况下 Simulink® Support Package for Raspberry Pi Hardware 中不包含的通信协议或硬件库。
您可以从 System object™ 模板开发设备驱动程序模块,然后与其他用户共享完成的模块。
主题
- Prerequisites for Developing Device Driver Blocks
Learn the system requirements and recommended skills to develop device driver blocks for Raspberry Pi hardware boards.
- Structure of Device Driver System Object
Understand the concepts and operation of device driver blocks implemented using a System object.
- Simulation with Device Driver Blocks
Choose and implement a data simulation mode for device driver blocks.
- Sharing Device Driver Blocks with Other Users
Package and distribute your device driver blocks.