I2C_demo.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /** @file
  2. I2C_demo.h
  3. @brief
  4. This file is demo of I2C.
  5. */
  6. /*================================================================
  7. Copyright (c) 2020 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
  8. Quectel Wireless Solution Proprietary and Confidential.
  9. =================================================================*/
  10. /*=================================================================
  11. EDIT HISTORY FOR MODULE
  12. This section contains comments describing changes made to the module.
  13. Notice that changes are listed in reverse chronological order.
  14. WHEN WHO WHAT, WHERE, WHY
  15. ------------ ------- -------------------------------------------------------------------------------
  16. =================================================================*/
  17. #ifndef _I2C_DEMO_H
  18. #define _I2C_DEMO_H
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22. /*===========================================================================
  23. * include files
  24. ===========================================================================*/
  25. /*===========================================================================
  26. * Macro Definition
  27. ===========================================================================*/
  28. typedef int QlI2CStatus;
  29. typedef void * ql_task_t;
  30. /*===========================================================================
  31. * Struct
  32. ===========================================================================*/
  33. /*===========================================================================
  34. * Enum
  35. ===========================================================================*/
  36. /*===========================================================================
  37. * Variate
  38. ===========================================================================*/
  39. /*===========================================================================
  40. * Functions
  41. ===========================================================================*/
  42. void ql_i2c_demo_init(void);
  43. #ifdef __cplusplus
  44. } /*"C" */
  45. #endif
  46. #endif /* _I2C_DEMO_H */