Rainbow Electronics GM862-QUAD-PY User Manual
Page 260

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 260 of 434
#GPIO - General Purpose Input/Output Pin Control
SELINT 2
pin
•
no meaning value for the pin GPIO
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" (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
2. GPIO2 is an OPEN COLLECTOR output, the command sets
the transistor base level, hence the open collector output is
negated
AT#GPIO?
Read command reports the read direction and value of all GPIO pins, in the
format:
#GPIO:
where
AT#GPIO=?
Test command reports the supported range of values of the command
parameters
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