Main Content

Digital Read

Read value from GIOB[4] or GIOB[5] pins on the Texas Instruments Hercules RM57Lx microcontroller

Add-On Required: This feature requires the Embedded Coder Support Package for ARM Cortex-R Processors add-on.

  • Digital Read block

Libraries:
Embedded Coder Support Package for ARM Cortex-R Processors

Description

Read logical value from the GIOB[4] or GIOB[5] pins of the Texas Instruments® Hercules RM57Lx microcontroller based on the ARM® Cortex®-R processor core.

The Digital Read block outputs a signal of type uint32.

The GIOB[4] or GIOB[5] pins connect to the User Switch A and User Switch B on the Texas Instruments Hercules RM57Lx Launchpad hardware board, respectively.

Ports

Output

expand all

Logical value of specified GIO pin, returned as a boolean scalar.

Data Types: uint32

Parameters

expand all

Select the GIO pin on the Texas Instruments Hercules RM57Lx Launchpad hardware board from which you want read the logical status.

Version History

Introduced in R2016b