# 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:
|
| Pull | Number [0,2] | Pull status:
0: No pull up and no pull down
1: Pull down
2: Pull up
|
| Drive | Number [0,1] | Driving current selector:
0: Lower driving current
1: Higher driving current
|
## 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:
0: Output low
1: Output high
|
## 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:
0: High level triggered
1: Low level triggered
2: Rising edge triggered
3: Falling edge triggered
|
## 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)