PIONEERPOS G24-LC +MIOD, Motorola I/O Define, April 15 G24-L AT Commands Reference Manual 147

Models: G24-LC G24-L

1 444
Download 444 pages 51.67 Kb
Page 211
Image 211

Chapter 3: AT Commands Reference

+MIOD, Motorola I/O Define

This command defines the G24-L 8 GPIO pins configuration. The feature is flex enabled or disabled.

This command is a basic command.

The feature is active by default, however, changing the FLEX can eliminate it.

Note: When using the GPIO lines feature, lines should not be connected directly to ground, a resistor must be used. This is applicable when changing an I/O from input to output.

 

 

 

 

Command

 

 

 

Type

Syntax

Response/Action

Remarks

 

 

 

 

 

 

 

 

Set

AT+MIOD=<Pin

OK

The set command defines the behavior

 

selection>,<Mode>

or:

mode of each selected IO pin.

 

[,<Data vector>]

+CME ERROR: <err>

The G24-L saves the new setting in

 

flex. The selected pins are affected.

 

 

 

 

 

 

Validity check of all parameters will be

 

 

 

done and appropriate standard error

 

 

 

will be issued.

 

 

 

In case of legal parameters the new

 

 

 

configuration is set. If <Data vector>

 

 

 

doesn't supply and new <Mode> is

 

 

 

output a line will care physical high

 

 

 

signal. In case <Data vector> is supply

 

 

 

and includes values of input pins, those

 

 

 

values will be ignored. In case

 

 

 

<Mode> is input and <Data vector> is

 

 

 

supply, an error will be issued

 

 

 

"Operation not allowed". No action

 

 

 

will be done.

 

 

 

 

Read

+ MIOD?

+MIOD: <Mode vector>

The read command returns the current

 

 

 

behavior mode of the 8 GPIO pins.

 

 

OK

 

 

 

 

 

Test

+ MIOD=?

+MIOD: (list of

The test command returns the possible

 

 

supported <Pin

ranges of <Pin selection>s, <Mode>s

 

 

selection>s),(list of

and <Data vector>s.

 

 

supported

 

 

 

<Mode>s),(list of

 

 

 

supported <Data

 

 

 

vector>s)

 

 

 

OK

 

 

 

or:

 

 

 

+CME ERROR: <err>

 

 

 

 

 

 

 

 

 

April 15, 2008

G24-L AT Commands Reference Manual

3-147

Page 211
Image 211
PIONEERPOS G24-LC manual +MIOD, Motorola I/O Define, April 15 G24-L AT Commands Reference Manual 147, + Miod?