6 at^sgio get io state of a specified pin or port, At^sgio, Ac75 at command set – Siemens AC75 User Manual

Page 515

Advertising
background image

AC75 AT Command Set

20.6 AT^SGIO

s

AC75_ATC_V01.002

Page 515 of 569

10/30/06

Confidential / Released

20.6

AT^SGIO Get IO state of a specified pin or port

Syntax

Parameter Description

This can be either an already configured

<pin_id>

or an already opened

<port_id>

.

State read on this

<io_id>

.

0

Low for

<pin_id>

1

High for

<pin_id>

0...1023

For

<port_id>

Note

• If one gets the state of a port whose width is less than 10 bits, the bits of

<value>

that are more significant

than the MSB of the port are set to zero.

Test Command

AT^SGIO=?

Response(s)

^SGIO:

(list of supported

<io_id>

s)

OK

Write Command

AT^SGIO=

<io_id>

Response(s)

^SGIO:

<value>

OK

ERROR

+CME ERROR: <err>

Reference(s)

PIN

ASC0 ASC1 USB MUX1 MUX2 MUX3 Charge

4

Last

SIEMENS

-

+

+

+

+

+

+

-

+

-

<io_id>

(num)

<value>

(num)

Advertising