Contenuto principale

getGPIOBanks

R2026b

Available GPIO banks on your radio

Since R2026b

Description

banks = getGPIOBanks(radio) returns the available GPIO banks banks on the radio associated with the radio object radio.

Use this function to discover the GPIO banks available on your radio so that you can select which set of GPIO signals to configure for automatic transmit/receive (ATR) operation or manual GPIO control.

example

Examples

collapse all

Create a radio object, specifying a previously saved radio setup configuration.

radio = radioConfigurations("MyRadio");

Discover the GPIO banks available on the radio.

gpioBanks = getGPIOBanks(radio);

Input Arguments

collapse all

Radio object, specified as a radio object that corresponds to a radio setup configuration you saved using the Radio Setup wizard.

To create a radio object, call the radioConfigurations function with the name of your radio setup configuration. For example, for a radio setup configuration named MyRadio, call radio = radioConfigurations("MyRadio").

Output Arguments

collapse all

GPIO bank identifier list, returned as a string array. Each element in the array represents a GPIO bank available on the radio.

The number of GPIO banks and their identifiers depends on the radio.

Data Types: string

Version History

Introduced in R2026b