Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

With the function I2C_UseSemaphore you can disable the lock and unlock mechanism.

int I2C_UseSemaphore(
  int use
); 
int i2c_UseSemaphore(
  int use
); 

Parameters

use
set to „1“ to use semaphore,
set to „0“ if semaphore shouldn't be used.

Return Values

The function returns 1 if a semaphore has been used before this function call, e.g. returns 0 if not.

Remarks

It's not recommended to shut off the use of a semaphore to synchronize access to the i2c-bus.

Requirements

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

  • No labels