Comtrol API (6508) for the MS-DOS Uživatelský manuál Strana 26

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 39
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 25
26 API Functions
aaGetRxStatus
aaGetRxStatus
Gets the status of the device’s receive buffer.
aaGetRxStatus(Dev)
int Dev Device number
int:
NO_ERR if there are no errors in the
devices receive buffer
ERR_RX if there are errors in the
devices receive buffer
ERR_DEV if device number out of range
ERR_NOTOPEN if device not open for receive
If there are errors in the device’s receive buffer, the
exact error and the errored data byte can be
determined using the aaReadWithStatus() function.
Purpose
Call
Return
Comments
aaGetTxCount
Gets the count of data bytes in the transmit buffer
waiting to be transmitted.
aaGetTxCount(Dev)
int Dev Device number
int: Transmit byte count
Purpose
Call
Return
Zobrazit stránku 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 38 39

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

Žádné komentáře