xPCI-1500 API
APCI-1500 timer/counter/watchdog functions

Modules

 Timer Counter 1
 
 Timer Counter 2
 
 Watchdog Counter 3
 

Functions

_INT_ i_APCI1500_InitTimerInputClock (BYTE_ b_BoardHandle, BYTE_ b_InputClockSelect)
 

Detailed Description

Function Documentation

_INT_ i_APCI1500_InitTimerInputClock ( BYTE_  b_BoardHandle,
BYTE_  b_InputClockSelect 
)

Initializes the input clock used for timers and watchdog

Parameters
[in]b_BoardHandleHandle of the board
[in]b_InputClockSelectClock selection
  • APCI1500_115_KHZ => 115,2kHz
  • APCI1500_3_6_KHZ => 3,6kHz
  • APCI1500_1_8_KHZ => 1,8kHz
Return values
0: No Error
-1: The handle parameter of the board is wrong
-2: The selected clock index is wrong
-102: Error while calling IOCTL function (wrong handle ?)