27 #define I2CSTATICODE static
31 #define INTI2CFNCOLLAPSE(PFX, name) PFX##name
32 #define I2CFNCOLLAPSE(PFX, name) INTI2CFNCOLLAPSE(PFX, name)
36 #define I2CNEEDGETBYTE 1
40 #define DSCL_IHIGH DSCL_INPUT
44 #define DSDA_IHIGH DSDA_INPUT
59 for (i = 0; i < 8; i++)
95 unsigned char ret = 0;
99 for (i = 0; i < 8; i++)
#define DSCL_OUTPUT
Definition hdw-imu.c:20
#define READ_DSDA
Definition hdw-imu.c:36
#define DELAY1
Definition hdw-imu.c:45
#define DSDA_INPUT
Definition hdw-imu.c:32
#define DSDA_OUTPUT
Definition hdw-imu.c:28
#define DELAY2
Definition hdw-imu.c:46
#define DSCL_IHIGH
Definition static_i2c.h:40
#define I2CSTATICODE
Definition static_i2c.h:25
#define I2CFNCOLLAPSE(PFX, name)
Definition static_i2c.h:32
#define DSDA_IHIGH
Definition static_i2c.h:44