You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
876 B

/*
*********************************************************************************************************
*
* 模块名称 : FDCAN驱动模块
* 文件名称 : bsp_can.c
*
* Copyright (C), 2018-2030, 安富莱电子 www.armfly.com
*
*********************************************************************************************************
*/
#ifndef __BSP_CAN_H
#define __BSP_CAN_H
#include "main.h"
void bsp_InitCan1(void);
void bsp_InitCan2(void);
void bsp_DeInitCan1(void);
void bsp_DeInitCan2(void);
void can1_SendPacket(uint8_t *_DataBuf, uint8_t _Len);
void can2_SendPacket(uint8_t *_DataBuf, uint8_t _Len);
extern FDCAN_RxHeaderTypeDef g_Can1RxHeader;
extern uint8_t g_Can1RxData[64];
extern FDCAN_RxHeaderTypeDef g_Can2RxHeader;
extern uint8_t g_Can2RxData[64];
#endif
/***************************** 安富莱电子 www.armfly.com (END OF FILE) *********************************/