Device Driver Blocks

Create a device driver block to access specific features of your hardware board.

A device driver block is a specialized form of the MATLAB System block that generates custom C/C++ code when deployed to an Intel® SoC device. Device driver blocks provide users easy access to features of hardware boards, such as communication protocols or hardware libraries, not available in the Embedded Coder Support Package for Intel SoC Devices.

This guide presents the complete process to develop a device driver block from a template system object to sharing the completed blocks with other users.

Topics

Prerequisites

Learn the system requirements and recommended skills to develop device driver blocks for ARM® Cortex®-A based hardware boards.

Structure of Device Driver System Object

Understand the concepts and operation of device driver blocks implemented using System object™.

Create a Digital Write Block

Create a Digital Write block using a System object.

Create a Digital Read Block

Create a Digital Read block using a System object.

Block Mask

Create block masks for your device driver blocks.

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.