Instruction manual
AMPDIO DRIVERS
Page 158
the pulse generator. One of the following pre-
defined constants may be used:
X1 = 0
X2 = 4
Y1 = 8
Y2 = 12
Z1 = 16
Z2 = 20
pulseChan short: timer/counter channel number within the
chip for the pulse generator (0, 1 or 2). Another
timer/counter channel (pulseChan-2) will also
be used, and may be on the previous chip or
wrap around to the highest chip.
pulseClock short: clock source for the pulse generator.
One of the following pre-defined constants may
be used, or use -1 to choose a value
automatically for boards with clock connection
registers:
-1 (choose automatically)
CLK_10MHZ = 1 (fixed 10 MHz clock)
CLK_1MHZ = 2 (fixed 1 MHz clock)
CLK_100KHZ = 3 (fixed 100 kHz clock)
CLK_10KHZ = 4 (fixed 10 kHz clock)
CLK_1KHZ = 5 (fixed 1 kHz clock)
For PC214E, a clock source of –1 is treated as
CLK_1MHZ irrespective of the actual jumper
settings.
trainClock short: clock source for the train rate generator.
One of the following pre-defined constants may
be used, or use -1 to choose a value
automatically for boards with clock connection
registers:
-1 (choose automatically)
CLK_10MHZ = 1 (fixed 10 MHz clock)
CLK_1MHZ = 2 (fixed 1 MHz clock)
CLK_100KHZ = 3 (fixed 100 kHz clock)
CLK_10KHZ = 4 (fixed 10 kHz clock)
CLK_1KHZ = 5 (fixed 1 kHz clock)
For PC214E, a clock source of –1 is treated as
CLK_1MHZ irrespective of the actual jumper
settings.
trainGate short: gate input source for the train rate
generator (if the board has gate connection
registers). One of the following pre-defined
constants may be used:
GAT_VCC = 0 (gate on/high)
GAT_GND = 1 (gate off/low)
GAT_EXT = 2 (gate from external
input)