Instruction manual

AMPDIO DRIVERS
Page 129
Z1 = 16
Z2 = 20
chan short: timer/counter channel number within the
chip (0, 1 or 2). This channel and the next
channel (chan+1) are used. The second
channel may be on the next timer/counter chip.
clock short: clock source (source of events) for the
event counter. One of the following pre-defined
constants representing the valid clock sources
may be used (usually CLK_CLK or CLK_EXT):
CLK_CLK = 0: external CLK(chan) i/p
CLK_10MHZ = 1: internal 10 MHz
CLK_1MHZ = 2: internal 1 MHz
CLK_100KHZ = 3: internal 100 kHz
CLK_10KHZ = 4: internal 10 kHz
CLK_1KHZ = 5: internal 1 kHz
CLK_OUTN_1 = 6: OUT(chan1)
CLK_EXT = 7: external EXTCLK(chip) i/p
Returns short: Event counter handle (>= 0). Use this in calls to the other event
counter functions to refer to this event counter.
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
See Also TCresetEventCounter
TCgetEventCount
TCfreeEventCounter
6.4.7.9 Reset a 32-bit Event Counter TCresetEventCounter
Resets to zero a 32-bit event counter as previously set up by the TCsetEventCounter function.
SUPPORTED IN VERSION 4.42 ONWARDS.
i = TCresetEventCounter (h, hE)
where h short: board handle as issued by the
registerBoardEx function.
hE short: event counter handle as issued by the
TCsetEventCounter function.
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
TCsetEventCounter
See Also TCgetEventCount
TCfreeEventCounter