Trace: » GPIO_FreeSpace » Connect an Exar Quad/Octal Uart » I2C_UseSemaphore
Access to information is restricted depending on your login.
Request login-information through our contact form.
Table of Contents
I2C_UseSemaphore
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
(C) 2009 Keith & Koep GmbH. Alle Rechte vorbehalten. Nutzungsbedingungen
(C) 2009 Keith & Koep GmbH. All rights reserved. Terms of Use
(C) 2009 Keith & Koep GmbH. All rights reserved. Terms of Use