beautypg.com

Io-pullup – B&B Electronics WLNN-AN(ER,SE,SP.EK)-DP551 - Manual User Manual

Page 161

background image

Airborne Enterprise CLI Reference Manual

161

io-pullup

Command

io-pullup

Arguments

f | g [enable | disable]

Security

Level

2 (data)

Device Type All

Default

N/A

Description

Enables or disables the internal pull-up resistor on indicated GPIO port dynamically without restarting

the module.

The command requires two parameters the first identifies the GPIO port and bit to be configured the

second determines the state of the internal pull-up resistor, for example:

io-pullup f1 enable

: Enables the internal pull up resistor for the f port first bit.

io-pullup g7 disable

: Disables the internal pull-up resistor for the g port seventh bit.

The effects of this command are temporary and will not be persistent across a restart. If the state of
the pull-up resistor is required to persist across a power cycle or a restart use the io-pullup-f and
io-pullup-g

commands.

Port assignment and exceptions:

f0

Read (POST output)

g0

Read or Write

f1

Read or Write

g1

Read or Write

f2

Read (RF_LINK output)

g2

Read or Write

f3

Read (WLN_CFG output)

g3

N/A

f4

Read or Write

g4

N/A

f5

Read or Write

g5

N/A

f6

Read (LED_CON output)

g6

Read or Write

f7

Read or Write

g7

Read or Write

When the LED signal has not been disabled those bits indicated as LED Outputs can only be read in
order to determine the state of the LED output (See WLNN DP500 Family Databook for details). To
disable the LED‟s use one of the following commands post-led, rf-link-led, wln-cfg-led and
conn-led

.

Any attempt to set an unavailable port or configure a port to an illegal state will be ignored.