Owner manual

24 API Functions
aaFlush
aaFlush
Flushes the transmit or receive buffer, or both for a
device.
aaFlush(Dev,FlushFlags)
int Dev Device number
unsigned char FlushFlags
COM_TX or COM_RX, or both
int:
NO_ERR if successful
ERR_DEV if device is out of range
ERR_OPENTYPE if FlushFlags is out of range
Purpose
Call
Return
aaGetCtlStatus
Gets controller status, including the first device
number on the controller and the number of devices on
the controller.
aaGetCtlStatus(CtlNum,FirstDevP,NumDevP)
int CtlNum Controller number to get status on.
int *FirstDevP Pointer to variable where first
device number on this controller
will be returned.
int *NumDevP Pointer to variable where number
of devices on this controller will be
returned
int:
NO_ERR Controller is installed
ERR_NOCTL Controller is not installed
The CtlNum parameter identifies which RocketPort
controller to get the status of. Controllers are
numbered sequentially beginning with 0. Controller 0
will be the first controller whose address appears in the
configuration file given by the
ROCKETCFG
environment variable. The contents of the FirstDevP
and NumDevP parameters are modified only if
NO_ERR
is returned.
Purpose
Call
Return
Comments