fttcemu version 25031800
Show or configure TTC emulator registers and enable or disable the TTC emulator.

Usage: fttcemu -h|V -c<cardnr> -e|n -B<bc> -E<period>
               -f<freq> -L<cnt> -t<us> -R -X<xl1id> -m<ttc2h>
  -h         : Show this help text.
  -V         : Show version.
  -c <cardnr>: FLX-card to use (default: 0).
  -e|n       : Enable (-e) or disable (-n) the TTC emulator on the selected card.
  -b <ena>   : Enable (1) or disable (0) TTC emu Busy-In (default: leave untouched)
  -B <bc>    : Set the BCR period, in units of BC (Bunch Count);
               for <bc> equal to 0 a single BCR is generated.
  -E <period>: Set the ECR period, in ms;
               for <period> equal to 0 a single ECR is generated.
  -f <freq>  : Set the TTC emulator L1A freqency, in Hz.
               (any individually requested L1As (option -L) generated first)
  -L <cnt>   : Generate <cnt> L1A triggers, using the interval set by -t (default: 0).
               (any requested single BCR or ECR is generated first).
  -t <us>    : Interval (approximately, in microseconds, default: 0)
               between individually generated L1As (option -L).
  -R         : Reset the TTC emulator; also reset the TTC decoder and XL1ID.
  -X <xl1id> : Set value of XL1ID-after-reset and execute XL1ID reset.
  -m <ttc2h> : TTC2Host v4 (LTI) message format configuration, <ttc2h>:
               4: +global_sync, 2: +user_sync, 1: +user_async, 0: none
               (TTC2Host message size: 22, 24, 32, 20 bytes resp.).
Note: options -B, -E, -f and -L also enable the TTC emulator, if necessary.
With no option given, the current TTC emulator status (register contents) is displayed.
