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.
33 lines
876 B
33 lines
876 B
5 months ago
|
/*
|
||
|
*********************************************************************************************************
|
||
|
*
|
||
|
* ģ������ : 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) *********************************/
|