Mioc, motorola i/o configure, Mioc, motorola i/o configure -144 – PIONEERPOS AT Commands G24-LC User Manual
Page 208

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