Documentation

  • Documentation Home
  • Embedded Coder Support Package for ARM Cortex-A Processors
  • Device Driver Blocks
  • Create a Digital Read Block
  • On this page
  • See Also
  • All
  • Examples
  • Functions
  • Blocks
  • All
  • Examples
  • Functions
  • Blocks

Create a Digital Read Block

To create a Digital Read block that reads the value of GPIO pins when deployed to an ARM® Cortex®-A based hardware board.

  1. Create a Project Folder

  2. Write the Hardware Specific C/C++ Code

  3. Select System Object Template

  4. Specify the Initialization, Output, and Termination

  5. Set Output Port Properties

  6. Test System Object

See Also

Block Mask | Create a Digital Write Block | Sharing Device Driver Blocks with Other Users | Simulation with Device Driver Blocks

Embedded Coder Support Package for ARM Cortex-A Processors Documentation

  • Examples
  • Functions and Other Reference
  • Release Notes
  • PDF Documentation

Support

  • MATLAB Answers
  • Installation Help
  • Bug Reports
  • Product Requirements
  • Software Downloads

© 1994-2023 The MathWorks, Inc.

  • Terms of Use
  • Patents
  • Trademarks
  • Acknowledgments