generated from hulk/gd32e23x_template_cmake_vscode
29 lines
486 B
C
29 lines
486 B
C
//
|
|
// Sensor Usage Example Header
|
|
// 传感器使用示例头文件
|
|
//
|
|
|
|
#ifndef SENSOR_EXAMPLE_H
|
|
#define SENSOR_EXAMPLE_H
|
|
|
|
#include "gd32e23x.h"
|
|
#include "board_config.h"
|
|
|
|
/*!
|
|
\brief 传感器初始化示例
|
|
\param[in] none
|
|
\param[out] none
|
|
\retval none
|
|
*/
|
|
void sensors_init_example(void);
|
|
|
|
/*!
|
|
\brief 传感器读取示例
|
|
\param[in] none
|
|
\param[out] none
|
|
\retval none
|
|
*/
|
|
void sensors_read_example(void);
|
|
|
|
#endif // SENSOR_EXAMPLE_H
|