Casio IT-2000W Spezifikationen Seite 120

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 297
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 119
120
GetCommEventMask
UNIT GetCommEventMask(idComDev, fnEvtClear)
int idComDev;
/* Communication device ID */
int fnEvtClear;
/* Event to be cleared in the event word */
The GetCommEventMask function will acquire the bit specified by the fnEvtClear mask in the event
word, then clear it.
< Parameter >
idComDev
: Specifies the communication device for which the event word is to be checked.
The OpenComm function returns this value.
fnEvtClear
: Specifies the event to be cleared in the event word. For a list of event values refer
to the description about the SetCommEventMask function.
< Return value >
Returns a value that indicates the current event word of the specified communication device if the
function is terminated normally. Each bit of the event word represents whether the specified event
occurred. If the event actually occurred, the corresponding bit is set to 1.
Note:
The application must enable the event using the SetCommEventMask function before the
GetCommEventMask function records the occurrence of an event. If the communication device
event shows a line status error, the application should call the GetCommError function after
calling the GetCommEventMask function.
Note on IrDA:
Some of the events are not supported at present. refer to the description of the SetCommEventMask
function.
Seitenansicht 119
1 2 ... 115 116 117 118 119 120 121 122 123 124 125 ... 296 297

Kommentare zu diesen Handbüchern

Keine Kommentare