
Application Note (AN312)
eCARD-FRM11 board API Programming
2005 DAQ system, all rights reserved.
http://www.daqsystem.com
Overview
Digital Input Output APIs
unsigned char DIO_Read (void)
BOOL DIO_Write (unsigned char val)
DIO_Read
Reads from input port
unsigned char DIO_Read (void)
Parameters:
None
Return Value:
If the function succeeds, it returns the port value.
If the function fail, it returns the -1(0xff).
DIO_Write
Writes to output port
BOOL DIO_Write (unsigned char val)
Parameters:
val :
The value to be written to the port.
Return Value:
If the function succeeds, it returns TRUE.
Kommentare zu diesen Handbüchern