flpgbtio version 22010400
Tool to write and/or read the lpGBT GPIO bits and direction register.
Usage:
 flpgbtio [-h|V] [-D<dma>] [-d<devnr>] -G<gbt> -I<i2c> [-1] [-e]
          [-i<bit>] [-o<dir>] [-E<ena>] [-U<up>] [-S<s>] [-X] [-Z] [<value>]
  -h         : Show this help text.
  -V         : Show version.
  -d <devnr> : FLX-device number (default: 0).
  -D <dma>   : FLX-device DMA controller for receiving (default: 0).
  -1         : Assume lpGBTv1 (default: lpGBTv0)
  -e         : Use the EC-channel (default: IC-channel).
  -G <gbt>   : lpGBT link number.
  -I <i2c>   : lpGBT I2C address.
  -i <bit>   : Read or write GPIO bit number <bit> (default: all).
               NB: if a single I/O pin is written to, its direction bit
                   is set to output (independent of option -o).
  -o <dir>   : Set GPIO direction register to value <dir> (16-bit hex).
  -E <ena>   : Set GPIO pull-up/down enable register to value <dir> (16-bit hex).
  -U <up>    : Set GPIO pull-up/down register to value <dir> (16-bit hex).
  -S <s>     : Set GPIO drive strength register to value <dir> (16-bit hex).
  -X         : Debug mode: display bytes of received frames.
  -Z         : Do NOT receive and process/display replies.
 <value>     : Value to write (0 or 1 for a single GPIO bit, or up to 0xFFFF otherwise, hexadecimal);
               if no value is provided a read operation is performed.
