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

Modules

 Timer Counter 1
 
 Timer Counter 2
 
 Watchdog Counter 3
 

Functions

_INT_ i_PCI1500_InitTimerInputClock (HANDLE h_DeviceHandle, BYTE b_InputClockSelected)
 

Detailed Description

Function Documentation

_INT_ i_PCI1500_InitTimerInputClock ( HANDLE  h_DeviceHandle,
BYTE  b_InputClockSelected 
)

Initializes the input clock used for timers and watchdog

Parameters
[in]h_DeviceHandleHandle of the board
[in]b_InputClockSelectedClock selection
  • PCI1500_115_KHZ => 115,2kHz
  • PCI1500_3_6_KHZ => 3,6kHz
  • PCI1500_1_8_KHZ => 1,8kHz
Returns
0 : No Error
-1 : The selected clock index is wrong
-2 : Error while calling IOCTL function (wrong handle ?)