Digital Read

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

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.

Introduced in R2016b