B&B Electronics WLNN-AN(ER,SE,SP.EK)-DP551 - Manual User Manual
Page 90

90
Airborne Enterprise CLI Reference Manual
Command
Description
io-pullup
Enables or disables the internal pull-up resistors for the
specified GPIO pin.
This command is temporary and is not persistent across a
restart or power cycle. To set the default direction of the
ports the io-pullup-f or io-pullup-g commands
must be used.
The command has the same bit restrictions the io-
pullup-f
and io-pullup-g command have.
The internal pull-up resistor is enabled by default.
The
and the bit to apply the state to (0 through 7), for instance
g0
would affect the first pin on port g.
The
io-dir-f
Sets the direction of the GPIO pins in port f. It is required
to issue a commit after the command for the parameters
to be persistent across restarts or power cycles.
This command requires a restart or power cycle to be
applied.
For a pin to be an input it must be set to 1, for output it
must be set to 0.
The
binary value that represents the desired state of the 8
GPIO in the port, e.g. 11111111 = 255 (all pins input),
11110000
= 240 (7,6,5,4 = Input, 3,2,1,0 = output).
Requires that the primary UART and LED signals have been
disabled.
io-dir-g
Sets the direction of the GPIO pins in port g. It is required
to issue a commit after the command for the parameters
to be persistent across restarts or power cycles.
This command requires a restart or power cycle to be
applied.
For a pin to be an input it must be set to 1, for output it
must be set to 0. Note that pin 3,4 and 5 are ignored
The
binary value that represents the desired state of the 8
GPIO in the port, e.g. 11111111 = 255 (all pins input),
11110000
= 240 (7, 6= Input; 2, 1, 0 = output; 5, 4, 3 =
ignored).
Requires that the secondary UART has been disabled.