ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 293 of 545 2020-04-15
Set INPUT, and internal pull down.
This table shows the GPIOs configurations set by <dir>=1 and <mode> values ranging
from 0 to 4.
AT#GPIO=<pin>,<mode>,1
Set OUTPUT, and GPIO logical value to zero (Low).
Set OUTPUT, and GPIO logical value to one (High).
Read mode, <dir> can be omitted, see Additional info section below
<mode>=2 selects the read mode. In read mode, <dir> can be omitted.
AT#GPIO=<pin>,2
the parameter can be:
• logic value read from pin GPIO<pin> in the case
the pin <dir> is set to input.
• logic value present in output of the pin
GPIO<pin> in the case the pin <dir> is currently
set to output.
• no meaning value for the pin GPIO<pin> in the
case the pin <dir> is set to alternate function or
tristate pull down.
<dir> values from 2 to 9 select an alternate function ranging respectively from ALT1 to
ALT5. <mode> must be set to 0 or 1 when an alternate function is selected. The table
shows the relationship between ALTx, <dir> and the name of the associated function.
AT#GPIO=<pin>,0,<dir>
Functions names (between quotes) associated to ALTx
#GPIO maps "STAT_LED" on:
GPIO_01 for ME910C1 and NE910C1 families: AT#GPIO=1,0,2
GPIO_08 for ML865C1 family: AT#GPIO=8,0,2
see #SLED to configure the STAT_LED GPIO_x behavior.
#GPIO or #ALARMPIN can map "ALARM" on one of the
available GPIO.
Example: AT#GPIO=<pin>,0,3
#GPIO maps "TEMPMON" on one of the available GPIO.
Example: AT#GPIO=<pin>,0,4