beautypg.com

Miod, motorola i/o define, Miod, motorola i/o define -147 – PIONEERPOS AT Commands G24-LC User Manual

Page 211

background image

Chapter 3: AT Commands Reference

April 15, 2008

G24-L AT Commands Reference Manual

3-147

+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=

selection>,

[,]

OK

or:

+CME ERROR:

The set command defines the behavior
mode of each selected IO pin.
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
doesn't supply and new is
output a line will care physical high
signal. In case is supply
and includes values of input pins, those
values will be ignored. In case
is input and is
supply, an error will be issued
"Operation not allowed". No action
will be done.

Read

+ MIOD?

+MIOD:

OK

The read command returns the current
behavior mode of the 8 GPIO pins.

Test

+ MIOD=?

+MIOD: (list of

supported selection>s),(list of
supported
s),(list of
supported vector>s)

OK

or:

+CME ERROR:

The test command returns the possible
ranges of s, s
and s.

This manual is related to the following products: