Specifications
UC864-E/G/WD/WDU AT Commands Reference Guide
80304ST10041a Rev. 7 - 2010-10-14
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved. Page 185 of 318
#GPIO - General Purpose Input/Output Pin Control
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
- no meaning if <dir>=2 - ALTERNATE FUNCTION
1 - no meaning if <dir>=0 - INPUT
- output pin set to 1 (High) if <dir>=1 - OUTPUT
- no meaning if <dir>=2 - ALTERNATE FUNCTION
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
- Reports a no meaning value if <dir>=2 - ALTERNATE FUNCTION
<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:
GPIO4 - alternate function is “RF Transmission Control”
GPIO5 - alternate function is “RF Transmission Monitor”
GPIO6 - alternate function is "Alarm Output" (see
+CALA)
GPIO7 - alternate function is "Buzzer Output" (s
ee #SRP)
GPIO10 – alterantive fu
nction is “DVI TX” (See #DVI)
GPIO12 – alternative function is “call key”
GPIO13 – alternative function is “ACTIVE”
GPIO17 – alternative function is “DVI SYNC” (See #DVI)
GPIO18 – alternative function is “DVI RX” (See #DVI)