User`s guide
PCIS-DASK Overview ? 9
CTR_Read
Reads the current contents of the selected counter.
CTR_Clear
Sets the output of the selected counter to the specified state.
CTR_Update
Writes a new initial count to the selected counter.
CTR_8554_ClkSrc_Config
Sets the counter clock source.
CTR_8554_CK1_Config
Sets the source of CK1.
CTR_8554_Debounce_Config
Sets the debounce clock.
2.7.2 The General-Purpose Timer/Counter Functions
GCTR_Setup
Controls the general-purpose counter to operate in the specified
mode.
GCTR_Read
Reads the current counter value of the general-purpose counter.
GCTR_Clear
Clears the general-purpose timer/counter control register and
counter register.
2.8 DIO Function Group
2.8.1 Digital Input/Output Configuration Functions
DIO_PortConfig
This function is only used by the Digital I/O cards whose I/O port can
be set as input port or output port. This function informs PCIS-DASK
library of the port direction selected for the digital input/output
operation. You must call this function before calling functions to
perform digital input/output operation.
2.8.2 Dual-Interrupt System Setting Functions
DIO_SetDualInterrupt
Controls two interrupt sources of Dual Interrupt system.
DIO_SetCOSInterrupt
Sets the ports used for COS interrupt detection.
DIO_GetCOSLatchData
Get the DI data that latched in the the COS Latch register while the
Change-of-State(COS) interrupt occurred.
DIO_INT1_EventMessage
Controls the interrupt sources of INT1 of Dual Interrupt system and
notifies the user’s application when an interrupt event occurs. The
notification is performed through a user-specified callback function or
the Windows PostMessage API.
DIO_INT2_EventMessage
Controls the interrupt sources of INT2 of Dual Interrupt system and
notifies the user’s application when an interrupt event occurs. The
notification is performed through a user-specified callback function or
the Windows PostMessage API.
2.8.3 Local Interrupt Setting Functions
DIO_7300SetInterrupt
Controls the interrupt sources (AUXDI and Timer2) of local Interrupt
system of PCI7300A/cPCI7300A.
DIO_AUXDI_EventMessage
Controls AUXDI Interrupt and notifies the user’s application when an
interrupt event occurs. The notification is performed through a user-
specified callback function or the Windows PostMessage API.