# QCLI sub-group: GPIO

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_gpio.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_gpio.html)

The GPIO sub-group demo is intended to demonstrate GPIO functionalities and APIs.

## Config

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_gpio.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_gpio.html)

This command configures the GPIO pins.

| Parameter name | Type/Range | Description |
| --- | --- | --- |
| Pin | Number [0,14] | Indicates the GPIO pin number |
| Dir | Number [0,1] | Input/output:<br><br><br>                            <ul class="ul" id="config__ul_blw_1tq_dcc"><br>                                <li class="li"><code class="ph codeph">0</code>: Input</li><br><br>                                <li class="li"><code class="ph codeph">1</code>: Output</li><br><br>                            </ul> |
| Pull | Number [0,2] | Pull status:<br><br><br>                            <ul class="ul" id="config__ul_kgr_1tq_dcc"><br>                                <li class="li"><code class="ph codeph">0</code>: No pull up and no pull down</li><br><br>                                <li class="li"><code class="ph codeph">1</code>: Pull down</li><br><br>                                <li class="li"><code class="ph codeph">2</code>: Pull up</li><br><br>                            </ul> |
| Drive | Number [0,1] | Driving current selector:<br><br><br>                            <ul class="ul" id="config__ul_gwb_btq_dcc"><br>                                <li class="li"><code class="ph codeph">0</code>: Lower driving current</li><br><br>                                <li class="li"><code class="ph codeph">1</code>: Higher driving current</li><br><br>                            </ul> |

## Set

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_gpio.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_gpio.html)

This command sets the output value on the specified pin.

| Parameter name | Type/Range | Description |
| --- | --- | --- |
| Pin | Number [0,14] | Indicates the GPIO pin number |
| Value | Number [0,1] | Output level:<br><br><br>                            <ul class="ul" id="Set__ul_dls_5tq_dcc"><br>                                <li class="li"><code class="ph codeph">0</code>: Output low</li><br><br>                                <li class="li"><code class="ph codeph">1</code>: Output high</li><br><br>                            </ul> |

## Get

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_gpio.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_gpio.html)

This command gets the input value on the specified pin.

| Parameter name | Type/Range | Description |
| --- | --- | --- |
| Pin | Number [0,14] | Indicates the GPIO pin number |

## EnableInterrupt

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_gpio.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_gpio.html)

This command sets the interrupt mode on the specified pin and enables the interrupt.

| Parameter name | Type/Range | Description |
| --- | --- | --- |
| Pin | Number [0,14] | Indicates the GPIO pin number |
| trigger | Number [0,3] | Trigger mode:<br><br><br>                            <ul class="ul" id="EnableInterrupt__ul_l5m_gtq_dcc"><br>                                <li class="li"><code class="ph codeph">0</code>: High level triggered</li><br><br>                                <li class="li"><code class="ph codeph">1</code>: Low level triggered</li><br><br>                                <li class="li"><code class="ph codeph">2</code>: Rising edge triggered</li><br><br>                                <li class="li"><code class="ph codeph">3</code>: Falling edge triggered</li><br><br>                            </ul> |

## GetMux

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_gpio.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_gpio.html)

This command gets a list of the mux function name.

Last Published: Jun 03, 2026

[Previous Topic
QCLI sub-group: I2CM](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-2/topics/qcli_sub_group_i2cm.md) [Next Topic
QCLI sub-group: Net](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-2/topics/qcli-sub-group-net.md)