Supported Browsers Home   
SCIend Previous   
SCIreadSDA Next   
GA_SCIFuncs Up   

SCIreadSCL

Reads the SCL clock line

Declaration

int NAPI GA_SCIFuncs::SCIreadSCL(
    N_int32 channel)

Prototype In

snap/ddc.h

Parameters

channel

Channel to control via I2C (DDC_ChannelsType)

 

Return Value

Bit value read from port

Description

This function reads the value from the SCL clock line and returns it. Note that not all controllers support this function so you must determine if this function is supported by looking at the returned SCI capabilities flags. For cards that do not allow reading of the clock line, a delay based system must be used to slow down the host during transfer to the display. Normally the SCL line is used by the display device to speed throttle the host transfers by forcing the SCL line low while it is busy and unable to respond.

See Also

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

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