Mioc, Motorola I/O Configure - Motorola G24 Guide Developer's Manual

At commands
Hide thumbs Also See for G24 Guide:
Table of Contents

Advertisement

Example
AT+MPSU?
+MPSU: 0
OK
AT+MPSU=?
+MPSU: (0-2)
OK
AT+MPSU=2
OK
/* reset and after it UART2 is open for full functionality */

+MIOC, Motorola I/O Configure

This command defines the G24 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
December 31, 2007
Support of the GPIO pins comes instead of supporting the keypad of the Evaluation
board.
Syntax
AT+MIOC=<Pin
selection>,<Data vector>
+ MIOC?
+ MIOC=?
AT Commands Reference Manual
Chapter 3: AT Commands Reference
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 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
+MIOC: (list of
The test command returns the possible
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
3-213

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents