24
Function Reference
CanConfigPort(handle, &port_struct);
CanCloseDriver(handle);
Visual Basic(Windows 95/98/NT)
CanRead()
Purpose
Direct read the register of PCI-7841.
Prototype
C/C++
BYTE CanRead(int handle, int offset)
Parameters
handle : handle retrieve from CanOpen-
Driver()
offset : offset of register
Return Value
Return data read from port.
Remarks
Direct read the register of PCI-7841.
See Also
CanWrite()
Usage
none
CanWrite()
Purpose
Direct write the register of PCI-7841.
Prototype
C/C++
void CanWrite(int handle, int offset, BYTE
data)
Parameters
handle : handle retrieve from CanOpen-
Driver()
Offset : offset of register
data : data write to the port
Return Value
none
Remarks
Call this function to directly write a register
of PCI-7841
See Also
CanRead()
Usage
none
CAN-layer I/O Functions
CanEnableReceive()
Purpose
Enable receive of a CAN port.
Prototype
C/C++
Summary of Contents for NuCOM cPCI-7841
Page 4: ......
Page 14: ...6 Introduction ...