fscaio version 21011800
Tool to write and/or read the GBT-SCA GPIO bits and direction register.
Usage:
 fscaio [-h|V] [-d <devnr>] [-e <elink>] [-G <gbt>] [-g <group>] [-p <path>]
        [-i <bit>] [-o <dir>] [-C] [-R] [-D] [-E] [-Z] [<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 <gbt>   : 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).
  -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.
 <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.
