User's Manual

Telit TRIZIUM Product Description
80264ST10007a Rev. 4– 09/09/04
Reproduction forbidden without DAI Telecom written authorization – All Right reserved – Right of modification reserved page 150 of 202
5.6.1.15 #GGPI – Read General Purpose Input
#GGPI – read general purpose input
Execute command
Read command
AT#GGPI?
Reports the read value for the input pin GPIO1in the format:
#GGPI: <dir>,<stat>
where
<dir> direction setting (see #GGPI=<dir> )
<stat> - logic value read from pin GPIO1
Note: Since the reading is done after the insulating transistor, the reported value is
the opposite of the logic status of the GPIO1 input pin.
Write command
AT#GGPI = <dir>
Set the General purpose input pin behavior depending on parameter
<dir>.
Parameter: <dir> - auxiliary input GPIO1 setting
<dir> = 0 - the read command reports the logic input level read from
GPIO1 pin.
<dir> = 1…255 - reserved for future use
Note: The device has an insulated input pin ( the input goes the base of an internal
decoupling transistor) which can be used as a logic general purpose input. This
command sets the read behaviour for this pin, since only direct read report is
supported, the issue of this command is not needed.
In future uses the behavior of the read input may be more complex.
Test command
Example
Reference Telit TRIZIUM AT Command Specification
SW release
Version A