39
ST150M User Manual
Confidential & Proprietary Information
9150-0125-01 R-1
The following is the meaning of the fields:
• Key = An identifier of the pin used in commands that reference it.
• Property: 0 = GPIO, 1 = IRQ, 2 = Tamper detect, 3 = line power detect, 4 = advertising enable, 5 = uart TX, 6 = uart RX.
• Pin = The Nordic pin designation.
• Is enabled = Boolean value . Is the pin enabled.
• Is fixed = Boolean. It is an actual physical pin.
• Type: 0 = input, 1 = output
• Set state: High or low if output.
• Read State: High or low if input.
• Is active high: Boolean. True = a high on the pin is the “exception” or “alert” condition for the input.
• ISR Received.
• Description: A string description of the GPIO purpose.
The output of a module to “AT+GPIOLIST=0” with none of the GPIO reserved yet is shown below. This shows all inputs available.
+GPIOLIST:0,0,2,0,1,0,0,0,0,0,P0.02
+GPIOLIST:1,0,3,0,1,0,0,0,0,0,P0.03
+GPIOLIST:2,0,4,0,1,0,0,0,0,0,P0.04
+GPIOLIST:3,0,5,0,1,0,0,0,0,0,P0.05
+GPIOLIST:4,6,16,1,1,0,0,0,1,0,P0.16
+GPIOLIST:5,0,24,0,1,0,0,0,0,0,P0.24
+GPIOLIST:6,5,25,1,1,1,0,0,1,0,P0.25
+GPIOLIST:7,0,28,0,1,0,0,0,0,0,P0.28
+GPIOLIST:8,0,29,0,1,0,0,0,0,0,P0.29
+GPIOLIST:9,0,30,0,1,0,0,0,0,0,P0.30
+GPIOLIST:10,0,31,0,1,0,0,0,0,0,P0.31 +GPIOLIST:11,0,33,0,1,0,0,0,0,0,P1.01 +GPIOLIST:12,0,34,0,1,0,0,0,0,0,P1.02
+GPIOLIST:13,0,35,0,1,0,0,0,0,0,P1.03 +GPIOLIST:14,0,36,0,1,0,0,0,0,0,P1.04
+GPIOLIST:15,0,37,0,1,0,0,0,0,0,P1.05
+GPIOLIST:16,0,38,0,1,0,0,0,0,0,P1.06
+GPIOLIST:17,0,39,0,1,0,0,0,0,0,P1.07 +GPIOLIST:18,0,42,0,1,0,0,0,0,0,P1.10 +GPIOLIST:19,0,44,0,1,0,0,0,0,0,P1.12
+GPIOLIST:20,0,46,0,1,0,0,0,0,0,P1.14
+GPIOLIST:21,0,47,0,1,0,0,0,0,0,P1.15
+GPIOLIST:22,2,0,0,0,0,0,0,0,0,Tamper
+GPIOLIST:23,3,0,0,0,0,0,0,0,0,Line Pwr
+GPIOLIST:24,4,0,0,0,0,0,0,0,0,Adv Enable
OK
7.12.2 CONFIGURING INPUTS:
To reserve one of the inputs in the list above, use:
AT+GPIOCFGIN=<reserved>,<key>,[<is_active_high>]
Examples:
Reserve key 0 as active high
AT+GPIOCFGIN=1,0,1