DAQ PCI-FRM01 Uživatelský manuál Strana 12

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 12
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 11
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.
Zobrazit stránku 11
1 2 ... 7 8 9 10 11 12

Komentáře k této Příručce

Žádné komentáře