Technical description Chapter 9
APCI-/CPCI-1500
83
IMPORTANT!
You can use this function only if the digital output memory is ON.
See function i_APCI1500_SetOutputMemoryOn (..).
Return value:
0: No error
-1: The handle parameter of the board is wrong
-2: The digital output memory is OFF. Please first use the function
"i_APCI1500_SetOutputMemoryOn"
9.3.7
Timer/counter and watchdog
1) i_APCI1500_InitTimerInputClock (...)
Syntax:
<Return value> = i_APCI1500_InitTimerInputClock
(BYTE
b_BoardHandle,
BYTE
b_InputClockCase)
Parameters:
BYTE
b_BoardHandle:
Handle of the
xPCI-1500
BYTE b_InputClockCase:
Select
the input clock for the 3 timers:
- APCI1500_115_KHZ : 111.5 kHz
- APCI1500_3_6_KHZ : 3.6 kHz
- APCI1500_1_8_KHZ : 1.8 kHz
IMPORTANT!
The timer component internally operates with half of the input frequency.
Task:
Selects the input clock timing for all timers
Return value:
0: No error
-1: The handle-parameter of the board is wrong
-2: The parameter for selecting the input clock is wrong