Pepper-computer Modular Computers RS485 Uživatelský manuál Strana 64

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 320
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 63
SMART I/O User’s Manual
March 12, 1996
©1996 PEP Modular Computers GmbH
Page 2 - 24
Chapter 2 SMART-BASE
2.6.6 SMTrd
Syntax
error_code SMTrd(u_int32 *value);
Description
This function reads the actual timer count value.
NOTE !
A stable read value can only be achieved if the timer is not running. There-
fore, a read request to the running timer terminates with
E_DEVBSY.
Input
u_int32 *value
Pointer to a variable in which to place the read
value.
Output
error_code SUCCESS
E_DEVBSY
Timer is currently running
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
Example
RetVal = SMTrd(buffer);
Zobrazit stránku 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 319 320

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

Žádné komentáře