i2cdrv.h

Go to the documentation of this file.
00001 /***************************************************************************/
00018 #ifndef __I2CDRV_H
00019 #define __I2CDRV_H
00020 
00021 #include "em_i2c.h"
00022 
00023 /***************************************************************************/
00028 /***************************************************************************/
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif
00036 
00037 /*******************************************************************************
00038  *****************************   PROTOTYPES   **********************************
00039  ******************************************************************************/
00040 
00041 void I2CDRV_Init(const I2C_Init_TypeDef *init);
00042 I2C_TransferReturn_TypeDef I2CDRV_Transfer(I2C_TransferSeq_TypeDef *seq);
00043 
00044 #ifdef __cplusplus
00045 }
00046 #endif
00047 
00051 #endif /* __I2CDRV_H */