
Page 52
Silex
Advanced Configuration
Part Number
140-00192-100
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
GPIO8 GPIO7 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-8. The
special functions are as follows:
GPIO_1
(no special function)
GPIO_2
(SPI CS for LCD display)
GPIO_3
TSPICS (enables SPI temperature)
GPIO_4
DTR0 (Serial Port 1 DTR output)
GPIO_5
DSR0 (Serial Port 1 DSR input)
GPIO_6
DCD0 (Serial Port 1 DCD input)
GPIO_7
GRN (network status LED)
GPIO_8
YEL (network status LED)
NOTE: 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.
Содержание Embedded Intelligent Module SX-560
Страница 1: ...SX 560 Embedded Intelligent Module Developer s Reference Guide ...
Страница 8: ...Page 2 Silex About This Reference Guide Part Number 140 00192 100 ...
Страница 10: ...Page 4 silex Introduction Part Number 140 00192 100 ...
Страница 24: ...Page 18 silex Installing the Evaluation Daughtercard Part Number 140 00192 100 ...
Страница 72: ...Page 66 Silex Advanced Configuration Part Number 140 00192 100 ...
Страница 78: ...Page 72 Silex Advanced Security Configuration Part Number 140 00192 100 ...
Страница 100: ...Page 94 Silex Engineering Drawings Part Number 140 00192 100 ...
Страница 104: ...Page 98 Silex SVL USB Firmware Part Number 140 00192 100 ...
Страница 106: ...Page 100 Silex GNU Linux Programming Part Number 140 00192 100 ...
Страница 108: ...Page 102 Silex Silex Contact Information Part Number 140 00192 100 ...
Страница 109: ...Part Number 140 00192 100 Revision C 2 ...
Страница 110: ...Part Number 140 00192 100 Revision C 2 Silex Technology America Inc www silexamerica com ...