first commit

This commit is contained in:
liyp
2025-12-24 17:18:34 +08:00
parent a7eb3fb3d9
commit 0f8ea19850
61 changed files with 765 additions and 156 deletions

16
Inc/CanProtocol.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef __CAN_PROTOCOL_H__
#define __CAN_PROTOCOL_H__
#include "System.h"
#include "HCanbus.h" //所有CAN使用这个结构体方便处理
#define SC_HHS 0
#define ZLG 1
#define GC 2
#define PEAK_CAN 3
uint8_t CanOpen(uint8_t Product, int DeviceType, int Chnl, int Baud, int OtherTyp1, int OtherType2);
void CanClose(void);
void CanSendPkg(void);
#endif

View File

@@ -1,6 +0,0 @@
#ifndef __CAN_RECEIVE_TASK_H__
#define __CAN_RECEIVE_TASK_H__
#include "System.h"
#endif