User`s guide
30
•
PCIS-DASK Overview
GCTR_Clear Clears the general-purpose
timer/counter control register
and counter register.
4.8 DIO Function Group
4.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.
4.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