i2c.c File Reference


Detailed Description

I2C implementation
Author:
Jörgen Birkler (birkler@yahoo.com)

Defines

Functions


Function Documentation

void I2C_BitDelay void   )  [static]
 

Generate bit delay for a 3.3v device min clock pulse width low and high is 4 us

uint8_t I2C_SCL_ReleaseAndWait void   )  [static]
 

Release SLC and wait for it's release by slave Wait max I2C_TIMER_COUNT bit delays

Return values:
>0 if slave released SCL (success).
0 if slave did not release SCL before timer expired (fail)


Copyright 2002 Jörgen Birkler. For accelR8 Accelerometer on Mon Jan 19 21:43:19 2004 by Doxygen 1.3.5.