Main Content

Digital Write

Write value to GIOB[6] or GIOB[7] 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 Write block

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

Description

Write a logical value to the GIOB[6] or GIOB[7] pins of the Texas Instruments® Hercules RM57Lx microcontroller based on the ARM® Cortex®-R processor core.

The GIOB[6] or GIOB[7] pins connect to the LED 2 and LED 3 on the Texas Instruments Hercules RM57Lx Launchpad hardware board, respectively.

Examples

Ports

Input

expand all

Logical value of selected GIO pin, specified as a Simulink® signal. This port accepts signal of any data type and internally converts it to boolean.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | Boolean | fixed point | enumerated | bus

Parameters

expand all

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

Programmatic Use

Block Parameter: Whichpin

Version History

Introduced in R2016b