sick_dt35/User/bsp/can.c
2025-04-02 20:51:10 +08:00

19 lines
893 B
C

// /* Includes ----------------------------------------------------------------- */
// #include "bsp\can.h"
// #include "can.h" // 包含 hcan 的定义
// /* Private define ----------------------------------------------------------- */
// /* Private macro ------------------------------------------------------------ */
// /* Private typedef ---------------------------------------------------------- */
// /* Private variables -------------------------------------------------------- */
// /* Private function -------------------------------------------------------- */
// /* Exported functions ------------------------------------------------------- */
// CAN_HandleTypeDef *BSP_CAN_GetHandle(BSP_CAN_t can) {
// switch (can) {
// case BSP_CAN:
// return &hcan; // 返回全局定义的 hcan 实例
// default:
// return NULL; // 未知的 CAN 枚举值
// }
// }