Casio IT-2000W Technical Reference Manual page 126

Casio pda technical reference manual
Table of Contents

Advertisement

SetCommEventMask
UNIT FAR *SetCommEventMask(idComDev, fuEvtMask)
int idComDev;
UNIT fuEvtMask;
The SetCommEventMask function will enable the event included in the event word of the specified
communication device.
< Parameter >
idComDev Specifies the communication device to be enabled. The OpenComm function
returns this value.
fuEvtMask Specifies the event to be enabled. This parameter consists of any combination of
the following values.
EV_BREAK
EV_CTS
EV_CTSS
EV_DSR
EV_ERR
EV_PERR
EV_RING
EV_RLSD
EV_RLSDS
EV_RXCHAR
EV_RXFLAG
EV_TXEMPTY
< Return value >
Returns a pointer 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.
/* Communication device to be enabled */
/* Event to be enabled */
Set if a break state is detected at data input. This functions if
9-Wire or 3-Wire connection is established.
Set if the status is changed by the CTS (clear to send) signal.
This functions if the 9-Wire connection is established.
Set if the current status of the CTS signal is indicated.
This functions if the 9-Wire connection is established.
Set if the status is changed by the DSR (data set ready) signal.
This functions if the 9-Wire connection is established.
Set if the line status error occurs. The line status error will be
either CE_FRAME, CE_OVERRUN or CE_RXPARITY.
This functions if the 9-Wire or 3-Wire connection is established.
Not supported.
Set if the ring indicator status is indicated during the last modem
interrupt. This functions if the 9-Wire connection is established.
Set if the status is changed by the RLSD (receive line signal detect)
signal. This functions if the 9-Wire connection is established.
Set if the current status of the RING signal is indicated. This
functions if the 9-Wire connection is established.
Set if a character is received and placed in the reception queue
Not supported.
Set if the last character in the transmission queue is send out.
126

Advertisement

Table of Contents
loading

Table of Contents