i2cPacket.h

Go to the documentation of this file.
00001 /******************************************************************************/
00013 #ifndef I2CPACKETM_H_
00014 #define I2CPACKETM_H_
00015 
00016 // \cond
00017 #include <types.h>
00018 #include <i2c.h>
00019 // \endcond
00020 
00021 /**************************************************************************/
00036 int HAL_OpenI2cPacket(const HAL_i2cMode_t *i2cMode);
00037 
00038 /**************************************************************************/
00045 int HAL_CloseI2cPacket();
00046 
00047 /**************************************************************************/
00062 int HAL_WriteI2cPacket(uint8_t id, 
00063                        uint8_t length, 
00064                        const uint8_t* data, 
00065                        void (*f)(bool result));
00066 
00067 /**************************************************************************/
00082 int HAL_ReadI2cPacket(uint8_t id, 
00083                       uint8_t length, 
00084                       uint8_t *data, 
00085                       void (*f)(bool result));
00086 
00087 #endif
00088 // eof i2cPacket.h

Generated on Wed Apr 2 19:06:16 2008 for ZigBeeNet Stack Documentation by  doxygen 1.5.1-p1