Table 21 GPIO General Commands
Command
Description
SET GPIO DIR [INOUT] | Sets GPIO signal to be an input or an output. The setting | |
GPIO # = {12345678} | only takes effect if the GPIO signal is not selected for | |
special function operation. | ||
| ||
| range | |
| 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]
Advanced Configuration
Silex
Part Number
Page 51