I2C_Lock

The function I2C_Lock prevents multiple access to the I2C-unit.

short int I2C_Lock( void); short int I2cLock( void);

Parameters

none

Return Values

If the function succeeds, the return value is TRUE.

If the function fails, the return value is FALSE.

Remarks

You have to call I2C_UnLock to release the ownership of the I2C-unit.

Requirements

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

See Also

I2C_Unlock