NNP STM Generic Remote Module git-main
Loading...
Searching...
No Matches
can_stm.h
1/*
2 * can.h
3 *
4 * Created on: Oct 9, 2024
5 * Author: jenej
6 */
7
8#ifndef INC_ST32_CAN_STM_H_
9#define INC_ST32_CAN_STM_H_
10
11// Canfestivals includes
12#include "can.h"
13
14#include "config.h"
15#include "ObjDict.h"
16
17extern UNS8 txErr;
18extern UNS8 rxErr;
19
20/************************* To be called by user app ***************************/
21
22unsigned char canInit();
23unsigned char canSend(CAN_HandleTypeDef *hcan, Message *m);
24void HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan);
25void HAL_CAN_RxFifo1MsgPendingCallback(CAN_HandleTypeDef *hcan);
26void HAL_CAN_ErrorCallback(CAN_HandleTypeDef *hcan);
27unsigned char canChangeBaudRate_driver(CAN_HandleTypeDef *hcan, char* baud);
28void UpdateCANerrors(void);
29
30#endif /* INC_ST32_CAN_STM_H_ */
This file is generated by the NNP Tool – Object Dictionary Editor, as originally developed by CAN Fes...
#define UNS8
Unsigned int8 representation in CANFest.
Definition applicfg.h:25
unsigned char canSend(CAN_HandleTypeDef *hcan, Message *m)
The driver send a CAN message passed from the CANopen stack.
Definition can_stm.c:77
Definition can.h:13