fgbtxconf version 23072500
Read or write a GBTX register or register bitfield, by address or name.
The value of the item is read and displayed, and if requested,
written to and re-read and again displayed.
Requires the IC channel of the FLX device to be enabled.
Without options -G and -I some information about the selected register
or bitfield is displayed.

'fgbtxconf list' displays all known 'item' names plus additional info
about each item, and in combination with options -d/G/I displays
the current value of each item of the selected GBTX as well.
(NB: for lpGBT devices use the flpgbtconf tool).

Usage: fgbtxconf [-h|V] [-d<devnr>] [-D<dma>] [-G<link> -I<i2c>] [-X] [-Z]
                 <name> [<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).
  -G <link>  : GBT link number.
  -I <i2c>   : GBTX I2C address (hex).
  -X         : Debug mode: display bytes of received frames;
               also: continue, even when nothing is received (e.g. with -Z).
  -Z         : Do NOT receive and process/display replies.
 <name>      : Name of register or bitfield, or hex (0x) or decimal address.
               (Name "list" results in output of a list of all known items,
                including their current values in a connected GBTX chip
                when options -G/I are provided).
 <value>     : Value to write to register or bitfield (hex or decimal).
