| Home
| Previous
| Next
| Up

SCIdetect

Detects the presence of Serial Control Interface functions.

Declaration

int NAPI GA_SCIFuncs::SCIdetect(
N_uint8 *capabilities,
N_int32 *numchannels)

Prototype In

snap/ddc.h

Parameters

capabilities | Place to store SCI capabilities
numchannels | Place to store number of ports supported

Return Value

1 if supported, 0 if not supported.

Description

Detects if the SCI Serial Control Interface extensions are provided by the loaded driver. The capabilities of the SCI interface is returned via the capabilities parameter, which consist of the flags defined in DDC_SCIFlagsType. Generally, application software will not directly control the SCI interface, but will use the higher level DDC and MCS functions, which implement packet based protocols over the SCI interface. The DDC and MCS functions all internally use the SCI interface functions to communicate with the monitor.

See Also

SCIdetect, SCIbegin, SCIwriteSCL, SCIwriteSDA, SCIreadSCL, SCIreadSDA, SCIend

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com