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 149 of 202
5.6.1.14 #SGPO –Set General Purpose Output
#SGPO – set general purpose output
Execute command
Read command
AT#SGPO?
Reports the #SGPO command setting, hence the opposite status of the open collector
pin in the format: #SGPO: <stat>.
Write command
AT#SGPO = <stat>
Sets the value of the general purpose output pin GPIO2 according to <stat>
parameter
Parameter:
<stat>
0 - output pin cleared to 0 (LOW)
1 - output pin set to 1 (HIGH)
Note: The GPIO2 is an OPEN COLLECTOR output, the command sets the transistor
base level, hence the open collector output is negated:
AT#SGPO= 0 sets the open collector output HIGH
AT#SGPO= 1 sets the open collector output LOW
A pull up resistor is required on pin GPIO2.
Test command
AT#SGPO=?
Reports the supported range of values of the command parameter
<stat>.
Example
Reference Telit TRIZIUM AT Command Specification
SW release
Version A