fscaio version 23060100
Tool to write and/or read the GBT-SCA GPIO bits and direction register.
Usage:
 fscaio [-h|V] [-d <devnr>] [-e <elink>] [-G <lnk>] [-g <group>] [-p <path>]
        [-i <bit>] [-o <dir>] [-C] [-R] [-D] [-E] [-Z] [-H] [<value>]
  -h         : Show this help text.
  -V         : Show version.
  -d <devnr> : FLX-device to use (default: 0).
  -e <elink> : E-link number (hex) or use -G/g/p options.
  -G <lnk>   : GBT-link number (default: 0).
  -g <group> : Group number (default matches GBT EC 'group' = 7).
  -p <path>  : E-path number (default matches GBT EC 'path' = 7).
  -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> (hex).
  -C         : Send GBT-SCA connect (HDLC control).
  -R         : Send GBT-SCA reset (HDLC control).
  -r <rep>   : Generate <rep> pulses up/down or down/up before setting the (single) output
               to the requested value (for debug/demo purposes).
  -t <us>    : Width of the -r pulses, in microseconds [2..1000] (default: 2).
  -Z         : Do not receive and display the GBT-SCA replies.
  -D         : Disable GBT-SCA GPIO channel after operation (default: leave enabled)
  -E         : Do *not* enable GBT-SCA GPIO channel at start of operation,
               assume it already is.
  -H         : Do not use HDLC delay packet, even if firmware supports it,
               use zero-byte packets (for output pulse width, options -r and -t).
 <value>     : Value to write (0 or 1 for a single GPIO bit,
               or up to 0xFFFFFFFF otherwise, hexadecimal);
               if no value is provided a read operation is performed.
