67 lines
2.0 KiB
C
67 lines
2.0 KiB
C
/** @file
|
|
I2C_demo.h
|
|
|
|
@brief
|
|
This file is demo of I2C.
|
|
|
|
*/
|
|
|
|
/*================================================================
|
|
Copyright (c) 2020 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
|
|
Quectel Wireless Solution Proprietary and Confidential.
|
|
=================================================================*/
|
|
/*=================================================================
|
|
|
|
EDIT HISTORY FOR MODULE
|
|
|
|
This section contains comments describing changes made to the module.
|
|
Notice that changes are listed in reverse chronological order.
|
|
|
|
WHEN WHO WHAT, WHERE, WHY
|
|
------------ ------- -------------------------------------------------------------------------------
|
|
|
|
=================================================================*/
|
|
|
|
#ifndef _I2C_DEMO_H
|
|
#define _I2C_DEMO_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*===========================================================================
|
|
* include files
|
|
===========================================================================*/
|
|
|
|
/*===========================================================================
|
|
* Macro Definition
|
|
===========================================================================*/
|
|
|
|
typedef int QlI2CStatus;
|
|
typedef void * ql_task_t;
|
|
|
|
/*===========================================================================
|
|
* Struct
|
|
===========================================================================*/
|
|
|
|
/*===========================================================================
|
|
* Enum
|
|
===========================================================================*/
|
|
|
|
/*===========================================================================
|
|
* Variate
|
|
===========================================================================*/
|
|
|
|
/*===========================================================================
|
|
* Functions
|
|
===========================================================================*/
|
|
|
|
void ql_i2c_demo_init(void);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
} /*"C" */
|
|
#endif
|
|
|
|
#endif /* _I2C_DEMO_H */
|