Download PCI-8554 Multi-Functions Counter / Timer Card

Transcript
cardNo :
selCK1 :
card number to select board
if set selCK1 “0” then CK1 is C8M, if set selck1
“1” then CK1 is COUT11
@ Return Value
ERR_NoError
ERR_BoardNoInit
ERR_InvalidMode :
selCK1 is out of range
5.13._8554_SET_DBCLK
@ Description
To select debounce clock.
@ Syntax
C/C++ (DOS)
U16 _8554_SET_DBCLK (U16 cardNo,U16 DBCLK)
C/C++ (Windows 95)
U16 W_8554_SET_DBCLK (U16 cardNo,U16 DBCLK)
Visual Basic (Windows 95)
W_8554_SET_DBCLK (ByVal cardNo As Integer, ByVal
DBCLK As Integer) As Integer
@ Arguments
cardNo :
card number to select board
DBCLK :
if set dbclk “0” then DB_CLK is COUT11, if set
dbclk “1” then DB_CLK is 2MHz
@ Return Value
ERR_NoErro, ERR_BoardNoInit
ERR_InvalidMode :
DBCLK is out of range
5.14._8554_Set_INT_Control
@ Description
The PCI-8554 has dual interrupts system. Two interrupt sources
can be generated and be checked by the software. This function
is used to select and control PCI-8554 interrupt sources. The
interrupt source can be set as from counter #12 output COUT12
(INT1) or external interrupt signal EXTINT (INT2).
@ Syntax
High Level Programming • 37