Mioc, Motorola I/O Configure - 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

Hardware Information
Example
AT+MRST
OK
// Result - G24-L module performs a power down

+MIOC, Motorola I/O Configure

This command defines the G24-L 8 GPIO pins data value. 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
3-144
Support of the GPIO pins comes instead of supporting the keypad of the Evaluation
board.
Syntax
AT+MIOC=<Pin
selection>,<Data vector>
+ MIOC?
+ MIOC=?
G24-L AT Commands Reference Manual
Response/Action
OK
The set command defines the logic
value of selected pins to high or low
or:
when pin is configured as output.
+CME ERROR: <err>
The G24-L saves the new setting in
flex. Only selected pins are affected.
Set action is allowed only for pins
configured as output.
In case <Data vector> includes values
of input pins, those values will be
ignored. In case <pin selection>
includes input pins, an error will be
issued "Operation not allowed". No
action will take place.
+MIOC: <Data vector>
The read command returns the actual
logical value of the 8 GPIO pins.
OK
The test command returns the possible
+MIOC: (list of
ranges of <Pin selection>s and <Data
supported <Pin
vector>s.
selection>s),(list of
supported <Data
vector>s)
OK
or:
+CME ERROR: <err>
Remarks
April 15, 2008

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G24-lc

Table of Contents