ADLINK HSL-DO32-M-N/HSL-DO32-M-P User Manual

Page 102

Advertising
background image

HSL Function Library

89

The formula is : Frequency(Hz) =

enable: Enables (1) or disables (0) the timer interrupt

time_out_ms: Specifies the time-out interval in milliseconds. The

function returns if the interval elapses, even if the interrupt is non-
signaled. If time_out_ms is zero, the function tests the Di state and
returns immediately. If time_out_ms is -1, the function time-out
interval does not elapse (infinite).

@ Return Code

ERR_No_Error
ERR_Invalid_Board_Number
ERR_Timer_Parameter
ERR_Close_Timer
ERR_Wait_Timer_Interrupt

)

1

1

(

256

48

+

p

MHz

Advertising