EasyManua.ls Logo

Telit Wireless Solutions ME910C1-WW - Page 109

Telit Wireless Solutions ME910C1-WW
233 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
Loading...
AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page109of233
#GPIO - General Purpose Input/Output Pin Control
<mode> - its meaning depends on <dir> setting:
0 - if <dir>=0 – INPUT, remove any Pull-up/Pull-down
- output pin cleared to 0 (Low) if <dir>=1 - OUTPUT
1 - if <dir>=0 – INPUT, if <dir>=0 – INPUT, remove any
Pull-up/Pull-down
- 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
Note: Reports a no meaning value if ALTERNATE FUNCTION
3 - if <dir>=0 – INPUT, enable Pull-Up
4 - if <dir>=0 – INPUT, enable Pull-Down
<dir> - GPIO pin direction
0 - pin direction is INPUT
1 - pin direction is OUTPUT
2,3,4,5,6,7,8,9 - pin direction is Alternate Function ALT1, ALT2, ALT3, ALT4, ALT5,
ALT6, ALT7,ALT8 respectively this direction.
<save> - GPIO pin save configuration
0 – pin configuration is not saved
1 – pin configuration is saved
Note: when <save> is omitted the configuration is stored
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 or Tristate pull down.
Note:

Table of Contents

Other manuals for Telit Wireless Solutions ME910C1-WW

Related product manuals