beautypg.com

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

Page 160

background image

160

Airborne Enterprise CLI Reference Manual

io-dir-g

Command

io-dir-g

Arguments

0 | 1

Security

Level

Read: 2 (data)

Write: 3 (config)

Device Type All

Default

0

Description

Sets the direction of the g GPIO port to input or output.

The command requires a single integer value that represents the state to be configured.

0

Bit is set as an output

1

Bit is set as an input

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

This command requires a commit command to be made persistent.

Requires a restart to take effect.

The following exceptions apply:

g0

Read or Write

g1

Read or Write

g2

Read or Write

g3

N/A

g4

N/A

g5

N/A

g6

Read or Write

g7

Read or Write