Download EM250 User Guide - 120-4024-000F
Transcript
Page 38
•
date and time of the last compile of the module’s software (needed to determine the software
version).
If DHCP mode is in effect, the command also outputs its current dynamic IP settings.
You can also view configuration information via InSight Desktop (see document 120-4036-000, the
InSight Desktop User’s Guide).
Arguments
None.
gpio
gpio
gpio {read | monitor}
gpio {config | set} 0xNNNN
Description
Allows reading and writing of GPIO pin states to the attached EM250 or ATmega host MCU. (Only
applies to pins configured as GPIO, with no alternate functions.)
If issued with no arguments, reports on config, set, and read. Bits 19:17, 10:9, and 5:4 are 0.
Parameter 0xNNNNN corresponds to a bitmask, specified in big-endian notation, indicating GPIO bits
16-0.
Arguments
set
Report or configure output level high (1) or low (0). Bits 19:17, 10:9, and 5:4 are
ignored.
monitor
Report on input changes sampled at 0.1 seconds till key press. Bits 19:17, 10:9,
and 5:4 are 0.
read
Report on input. Bits 19:17, 10:9, and 5:4 are 0.
config
Same as set
help
help [ command-name ]
Description
Provides help on InSight Adapter commands as follows:
•
If issued with no arguments, outputs a list of all InSight Adapter commands.
•
If issued with a valid command name, outputs a description of that command.
Arguments
The name of any InSight Adapter command.
Example
help port
EM250 User Guide
120-4024-000F