Instruction manual

AMPDIO DRIVERS
Page 133
for 1 and low for 1.
Returns short: Handle to the astable multivibrator (>= 0). Use this handle to call
the TCfreeAstable function when finished, in order to free up the
counter/timers for re-use.
or ERRHANDLE
ERRCHAN
ERRDATA
Prior Calls registerBoardEx
See Also TCfreeAstable
6.4.8.3 Free-up Astable Multivibrator Counter/Timers TCfreeAstable
Frees the two timer counters used for an astable multivibrator, as set-up by the TCsetAstable
function.
i = TCfreeAstable (h, hA)
where h short: board handle as issued by the
registerBoard function.
hA short: astable multivibrator handle as issued
by the TCsetAstable function
Returns short: OK
or ERRHANDLE
ERRCHAN
ERRDATA
Prior Calls registerBoardEx
TCsetAstable
See Also
6.4.8.4 Generate a Frequency TCgenerateFreq
Generates a square wave of specified frequency on a single timer/counter. See section 3.1.6
for more details on the Frequency Generation application.
For cards without a Counter Connections Register block (e.g. PC214E) an input clock
frequency of 1 MHz is assumed (4 MHz is assumed for PC27E).
For cards with a Counter Connections Register block, the highest internal clock frequency in 1
kHz, 10 kHz, 100 kHz, 1 MHz or 10 MHz that will support the desired output frequency is
chosen.
i = TCgenerateFreq (h, chip, chan, freq)
where h short: board handle as issued by the
registerBoardEx function.
chip short: address offset of timer/counter chip.
One of the following pre-defined constants may