![Telit Wireless Solutions DE910-DUAL Reference Manual Download Page 120](http://html1.mh-extra.com/html/telit-wireless-solutions/de910-dual/de910-dual_reference-manual_1083623120.webp)
DE910-DUAL AT commands reference guide
80392ST10102A Rev.2 – 2012-07-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 120 of 261
#GPIO - General Purpose Input/output Pin Control
<dir>
- current direction setting for the
GPIO<pin>
<stat>
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.
Note: "ALTERNATE FUNCTION" value is valid only for following pins:
GPIO4
- alternate function is “RF Transmission Control”
GPIO5
- alternate function is “RF Transmission Monitor”
GPIO6
- alternate function is "Alarm Output" (see
Note: while using the pins in the alternate function, the GPIO read/write access
to that pin is not accessible and shall be avoided.
AT#GPIO?
Read command reports the read direction and value of all
GPIO
pins, in the format:
#GPIO: <dir>,<stat>[<CR><LF>#GPIO: <dir>,<stat>[…]]
where:
<dir>
- as seen before
<stat>
- as seen before
AT#GPIO=?
Test command reports the supported range of values of the command parameters
<pin>
,
<mode>
and
<dir>
.
Example
AT#GPIO=3,0,1
OK
AT#GPIO=3,2
#GPIO: 1,0
OK
AT#GPIO=4,1,1
OK
AT#GPIO=5,0,0
OK
AT#GPIO=6,2
#GPIO: 0,1
OK