Default configuration of gpio, Configuring gpio ports, Table 39 – B&B Electronics WLNN-AN(ER,SE,SP.EK)-DP551 - Manual User Manual
Page 89: Gpio default settings command list, 2 default configuration of gpio, 3 configuring gpio ports

Airborne Enterprise CLI Reference Manual
89
Port
serial-port-p2 enable
serial-port-p2 disable
1
CTS2
GPIO
2
RTS2
GPIO
3
N/A
N/A
4
N/A
N/A
5
N/A
N/A
6
RXD2
GPIO
7
TXD2
GPIO
18.2 Default Configuration of GPIO
By default the GPIO interface is not enabled. It is necessary to reconfigure the
GPIO pins as identified in section 18.1 through use of the commands and actions
described in section 18.3.
18.3 Configuring GPIO ports
The available GPIO can be configured as inputs or outputs using a set of CLI
commands. The commands listed in Table 39 provide control of the GPIO and
should be configured to match the application.
Table 39 - GPIO Default Settings Command List
Command
Description
io-dir
Sets the direction of the indicated port. This command sets
the direction without requiring a restart or power cycle.
This command is temporary and is not persistent across a
restart or power cycle. To set the default direction of the
ports the io-dir-f or io-dir-g commands must be
used.
The command has the same bit restrictions the io-dir-f
and io-dir-g command have.
The
and the bit to apply the state to (0 through 7), for instance
g0
would affect the first pin on port g.
The
upon the desired direction for the GPIO.