• Ready for review
  • I2C_SetTimeout

    This function sets the timeout value for i2c-operations.

    unsigned int I2C_SetTimeout( unsigned int us); unsigned int i2c_SetTimeout( unsigned int us);

    Parameters

    us
    Timeout value in micro-seconds.
    If Bit 0x80000000 is set, use Sleep() function and wait milliseconds given in the lower-bytes of us instead.

    Return Values

    Returns the previous timeout value.

    Remarks

    Requirements

    OS Versions: Windows CE 4.2 and later.
    Header: drvlib_app.h
    Link Library: drvlib_app.lib

    See Also

    I2C_Init