Datasheet
SET GPIO DIRM <bit-mask>
GPIO # = {1|2|3|4|5|6|7|8}
Sets all direction control bits, where <bit-mask> is an 8 bit
mask expressed as 2 hex digits. This value should be in the
range 00-FF. The mask is encoded as follows:
7 6 5 4 3 2 1 0
GPIO10 GPIO9 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1
A value of 1 sets the corresponding GPIO line to be an
output. A value of 0 sets the GPIO line to be an input. For
example, a hex value of 80 sets GPIO8 as an output, all other
GPIO signals are input.
NOTE: The direction bit configuration is not changed by a
configuration reset to default.
SHOW GPIO DIRM <bit-mask> Shows all direction control bits
Example:
Local> set gpio dirm 01
Local> show gpio dirm
GPIO direction mask=01
SET GPIO SPECIAL [EN | DIS]
Sets a single special function control bit. This command
enables or disables the special function of the GPIO signal
specified. <gpio-num> must be in the range of 1-10. The
special functions are as follows:
GPIO_1 DSR0 (Serial Port 1 DTR output)
GPIO_2 DTR0 (Serial Port 1 DSR input)
GPIO_3 DCD0 (Serial Port 1 DCD input)
GPIO_4 DTR1 (Serial Port 2 DTR output)
GPIO_5 DSR1 (Serial Port 2 DSR input)
GPIO_6 DCD1 (Serial Port 2 DCD input)
GPIO_9 D2 YELLOW (network status LED)
GPIO_10 D3 GREEN (network status LED)
NOTE: GPIO_7 is dedicated for use with a test/reset
pushbutton switch, while GPIO_8 is dedicated for a power
status LED. The special function bit configuration is not
changed by a configuration reset to default.
SHOW GPIO SPECIAL Shows the current setting of the GPIO special function
configuration (note that GPIO #7 in this display is actually
GPIO_9, while GPIO #8 is actually GPIO_10).
Part Number 40183-101 Silex SX-550 Developer's Guide Page 58










