EasyManuals Logo

Telit Wireless Solutions HE863 Series User Manual

Telit Wireless Solutions HE863 Series
229 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #140 background imageLoading...
Page #140 background image
HE863 family AT commands reference guide
80377ST10083a Rev.6 – 2012-11-12
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved. Page 140 of
229
#GPIO - General Purpose Input/Output Pin Control
AT#GPIO=<pin>,
<mode>[,<dir>]
AT#GPIO =<pin>,<mode>[,<dir>]
Execution command sets the value of the general purpose output pin GPIO<pin>
according to <dir> and <mode> parameter.
Parameters:
<pin> - GPIO pin number; supported range is from 1 to a value that depends on the
hardware.
<mode> - its meaning depends on <dir> setting:
0 - no meaning if <dir>=0 - INPUT
- output pin cleared to 0 (Low) if <dir>=1 - OUTPUT
1 - no meaning if <dir>=0 - INPUT
- output pin set to 1 (High) if <dir>=1 - OUTPUT
2 - Reports the read value from the input pin if <dir>=0 - INPUT
- Reports the read value from the input pin if <dir>=1 - OUTPUT
<dir> - GPIO pin direction
0 - pin direction is INPUT
1 - pin direction is OUTPUT
2 - pin direction is ALTERNATE FUNCTION (see Note)
Note: when <mode>=2 (and <dir> is omitted) the command reports the direction
and value of pin GPIO<pin> in the format:
#GPIO: <dir>,<stat>
where:
<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:
GPIO6 - alternate function is “ALARM Output” (see +CALA)
GPIO10 - alterantive function is “DVI TX” (See #DVI)
GPIO17 - alternative function is “DVI SYNC” (See #DVI)
GPIO18 - alternative function is “DVI RX” (See #DVI)
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Telit Wireless Solutions HE863 Series and is the answer not in the manual?

Telit Wireless Solutions HE863 Series Specifications

General IconGeneral
BrandTelit Wireless Solutions
ModelHE863 Series
CategoryControl Unit
LanguageEnglish

Related product manuals