Boen_Shi 8be2866433 feat(base): 初始化 MSPM0 开发环境
- 添加头文件和配置文件支持
- 更新.gitignore忽略编译和IDE相关文件
- 添加基础的bsp代码
2026-07-16 14:45:26 +08:00

21 lines
432 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef TRACKER_GPIO_H
#define TRACKER_GPIO_H
#include "ti_msp_dl_config.h"
#include <cstdlib>
#include <cstdio>
class TrackerGpio {
public:
struct Data {
char data[7];
};
static void init(); // 模块初始化
static void inject(); // 数据注入串口、I2C回调函数注入数据
static Data getData();
static Data _data; // 声明静态成员变量
};
#endif //TRACKER_GPIO_H