00001 /***************************************************************************/ 00036 #ifndef __I2CDRV_H 00037 #define __I2CDRV_H 00038 00039 #include "em_i2c.h" 00040 00041 /***************************************************************************/ 00046 /***************************************************************************/ 00051 #ifdef __cplusplus 00052 extern "C" { 00053 #endif 00054 00055 /******************************************************************************* 00056 ***************************** PROTOTYPES ********************************** 00057 ******************************************************************************/ 00058 00059 void I2CDRV_Init(const I2C_Init_TypeDef *init); 00060 I2C_TransferReturn_TypeDef I2CDRV_Transfer(I2C_TransferSeq_TypeDef *seq); 00061 00062 #ifdef __cplusplus 00063 } 00064 #endif 00065 00069 #endif /* __I2CDRV_H */