同步最新代码
This commit is contained in:
16
底盘独立控制器/code/System/CAN.h
Normal file
16
底盘独立控制器/code/System/CAN.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef __CAN_H
|
||||
#define __CAN_H
|
||||
|
||||
typedef enum
|
||||
{
|
||||
CAN_M3508=0,//M3508
|
||||
CAN_GM6020,//GM6020
|
||||
CAN_RoboMasterC,//C板
|
||||
}CAN_MotorModel;//CAN总线设备分类枚举
|
||||
|
||||
extern uint8_t CAN_DeviceNumber;//CAN总线上设备数量
|
||||
extern uint8_t CAN_IDSelect;//CAN总线上ID列表选择位
|
||||
|
||||
void CAN_CANInit(void);//CAN总线初始化
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user