Miod, Motorola I/O Define - Motorola AT Commands G24-L Developer's Manual

At commands reference manual
Hide thumbs Also See for AT Commands G24-L:
Table of Contents

Advertisement

+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:
Command
Type
Set
Read
Test
April 15, 2008
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.
Syntax
AT+MIOD=<Pin
selection>,<Mode>
[,<Data vector>]
+ MIOD?
+ MIOD=?
G24-L AT Commands Reference Manual
Chapter 3: AT Commands Reference
Response/Action
OK
The set command defines the behavior
mode of each selected IO pin.
or:
The G24-L saves the new setting in
+CME ERROR: <err>
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.
+MIOD: <Mode vector>
The read command returns the current
behavior mode of the 8 GPIO pins.
OK
+MIOD: (list of
The test command returns the possible
ranges of <Pin selection>s, <Mode>s
supported <Pin
and <Data vector>s.
selection>s),(list of
supported
<Mode>s),(list of
supported <Data
vector>s)
OK
or:
+CME ERROR: <err>
Remarks
3-147

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G24-lc

Table of Contents