Table 22 GPIO General Commands
Command
Description
SET GPIO DIR [IN|OUT] <gpio-
num>
GPIO # = {1|2|3|4|5|6|7|8}
Sets GPIO signal to be an input or an output. The setting
only takes effect if the GPIO signal is not selected for special
function operation. <gpio-num> must be in the range 1-8.
Note: <gpio-num> is 7 for GPIO_9 and 8 for GPIO_10
(GPIO_7 and GPIO_8 are not settable by the user)
NOTE: The direction bit configuration is not changed by a
configuration reset to default.
SHOW GPIO DIR
Shows current setting of the GPIO direction configuration.
Example:
Local> show gpio dir
GPIO Direction
--------------
1 [OUT]
2 [IN]
3 [IN]
4 [IN]
5 [SPCL]
6 [SPCL]
7 [SPCL]
8 [SPCL]
Local>
set gpio dir in 1
Local>
set gpio dir out 2
Local>
show gpio dir
GPIO Direction
--------------
1 [IN]
2 [OUT]
3 [IN]
4 [IN]
5 [SPCL]
6 [SPCL]
7 [SPCL]
8 [SPCL]
Part Number 40183-101
Silex SX-550 Developer's Guide
Page 57
Summary of Contents for SX-550
Page 1: ...SX 550 Embedded Intelligent Module Developer s Reference Guide Revision L...
Page 3: ......
Page 10: ...Part Number 40183 101 Silex SX 550 Developer s Guide Page 2...
Page 26: ...Part Number 40183 101 Silex SX 550 Developer s Guide Page 18...
Page 40: ...Part Number 40183 101 Silex SX 550 Developer s Guide Page 32...
Page 111: ...Part Number 40183 101 Silex SX 550 Developer s Guide Page 103...
Page 118: ...Part Number 40183 101 Silex SX 550 Developer s Guide Page 110...