Rainbow Electronics GM862-QUAD-PY User Manual
Page 258

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 258 of 434
#GPIO - General Purpose Input/Output Pin Control
SELINT 0 / 1
0 - pin direction is INPUT
1 - pin direction is OUTPUT
2 - pin direction is ALTERNATE FUNCTION (see Note).
Note: when
direction and value of pin GPIO
#GPIO:
•
logic value read from pin GPIO
to input;
•
logic value present in output of the pin GPIO
pin
•
no meaning value for the pin GPIO
set to alternate function.
Note: if all parameters are omitted the command reports the read direction
and value of all GPIO pin, int the format:
#GPIO:
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" (see #SRP)
Note: while using the pins in the alternate function, the GPIO read/write
access to that pin is not accessible and shall be avoided.
For GM862 family products only
• GPIO1 is input only and GPIO2 is output only.
• since
the
GPIO1 reading is done after an insulating transistor,
the reported value is the opposite of the logic status of the
GPIO1 input pin
1. GPIO2 is an OPEN COLLECTOR output, the command sets
the transistor base level, hence the open collector output is
negated
AT#GPIO?
Read command has the same effect as Execution command when all
parameters are omitted.
AT#GPIO=?
Test command reports the supported range of values of the command
parameters