==== Derived from the User's manual =======================================
The User's manual is in PDF form and is included in this software
distribution. Th manual is located in the source tree of the driver.
==========================================================================
====================================================================================
This is 4-channel digital delay generator in a 6U, register-based VME module.
The V850-series is a group of versatile VME-packaged digital delay generators. 
The V850 is a 4-channel DDG, and the V851 provides six channels. 
Each is available with various connectors, and the V851 may be ordered 
with NIM logic-level outputs in addition to the six programmable-level delay outputs.
A V850-series module mounts in a standard 6U-size VME card cage, and operates as a 
slave module to any VME bus master. The V850 is triggered by an external pulse or an 
internally-generated single or repetitive pulse train. After receipt of a trigger, 
the module generates a 'T0' reference pulse and delayed pulse 
outputs T1 through T4 (or T6 for the V851). The delay associated with the 
Tn outputs may be programmed via the VME bus to be zero to 167.77 milliseconds 
with 32-bit resolution (39.0625 picosecond least significant bit). 
Each of the time outputs may be programmed to generate a variety of waveforms, 
and all output high and low voltage levels may be programmed as a group.
======================================================================================


Some Notes from Benjamin:
========================================================
hiddg85x_set_max_cards <number-of-cards>

and nothing else that is specific for this card. Like all other driver 
configuration calls this one should be placed before the call to 
<iocname>_registerRecordDeviceDriver. There are more detailed configuration 
calls available, which I just gather from the sources:

  hiddg85x_set_debug(int debug_level)
  hiddg85x_set_base_addr(int base_addr)
  hiddg85x_config(int ncards, int base_addr)
  hiddg85x_config_card(int card, double vlo, double vhi, double trg_lvl)

hiddg85x_config merely combines hiddg85x_set_max_cards and 
hiddg85x_set_base_addr into a single call.

hiddg85x_config_card configures a single card. The arguments are: vlo, vhi 
for the low and high voltage values of the output signal (in Volts) and 
trg_lvl is, well, the trigger level for the input signal. The defaults for 
these values you can look up in the manual.

From the header file I gather the default values for max_cards and base_addr 
are:

  #define DEF_BASE_ADDR       0xc040
  #define DEF_MAX_CARDS       3


After iocInit you should then see a message that goes like

  sevr=info drvHIDDG85x: 1 of 1 configured cards found

In case one of teh cards is not found, you'll see

  sevr=fatal drvHIDDG85x: no card found at address 0xf1ffc080
  sevr=info drvHIDDG85x: 3 of 4 configured cards found
===============================================================================

/* configuration defaults */
#define DEF_DEBUG_LEVEL     0
#define DEF_VHI             5.0
#define DEF_VLO             0.0
#define DEF_TRG_LVL         (DEF_VLO + (DEF_VHI-DEF_VLO)/4)

/*
The V850-series modules are register-based VME slave devices capable of performing 8 or 16-bit data transactions, formally 'A16:D16:D08(EO)'.
*/
/*
A DIPswitch is provided on the DDG module for selection of the VME bus module base address; bits are clearly labeled on the switch. The switch is accessible without removing the module cover. Note: In accordance with VXI standards, the module occupies 32 words (64 bytes) in the high 4K of the 16-bit addressing space, namely the address range C000 - FFC0. Modules should not be switched to have base address FFC0 (all switches set to '1') as that might interfere with automatic module address assignment in certain VXI systems.
The V850 responds to hex address modifier codes 29 and 2D.
V850 modules are normally shipped with all address switches set to '0', establishing a base address of C000 hex.
*/

/* Let's try factory default base address */
/* All rockers set to off or zero */
/* A13, A12, A11, A10, A9, A8, A7, A6 */
#define DEF_BASE_ADDR       0xc000
#define DEF_MAX_CARDS       3
