SMART I/O User’s Manual
March 12, 1996
©1996 PEP Modular Computers GmbH
Page 4 - 44
Chapter 4 Digital Modules
4.3.8.7 SMREL1GetLed
Syntax
error_code SMREL1GetLed(u_int8 PortNr,
u_int8 *buffer);
Description
This function gets the status of the User LED on the port
PortNr
and writes
it to the
buffer
. If the LED is OFF then it returns 0, otherwise it returns 1.
This function of the LED is for the user to decide.
Input
u_int8 PortNr
SM-Port number to get data
u_int8 *buffer
Pointer to buffer where data is written
Output
error_code
SUCCESS
E_BMODE
if the module is unknown
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
Example
RetVal = SMREL1GetLed(0, buffer);
Содержание Modular Computers RS232
Страница 2: ...This page was intentionally left blank ...
Страница 12: ...This page was intentionally left blank ...
Страница 18: ...SMART I O User s Manual March 12 1996 1996 PEP Modular Computers GmbH Page 1 6 Introduction ...
Страница 89: ...Digital Modules 08 Jan 98 SMART I O User s Manual Page 4 1 Manual ID 09901 Rev Index 0500 Digital Modules ...
Страница 92: ...This page was intentionally left blank ...
Страница 143: ...Digital Modules 08 Jan 98 SMART I O User s Manual Page 4 57 Manual ID 09901 Rev Index 0500 Figure 4 3 Solder Side ...
Страница 149: ...Digital Modules 08 Jan 98 SMART I O User s Manual Page 4 63 Manual ID 09901 Rev Index 0500 Figure 4 7 Connection ...