23 lines
360 B
C
23 lines
360 B
C
/*
|
|
* can.h
|
|
*
|
|
* Created on: 21.06.2023
|
|
* Author: max
|
|
*/
|
|
|
|
#ifndef INC_CAN_H_
|
|
#define INC_CAN_H_
|
|
|
|
#include "stm32h7xx_hal.h"
|
|
|
|
#define CAN_ID_AMS_STATUS 0x00A
|
|
#define CAN_ID_AMS_IN 0x00B
|
|
#define CAN_ID_SLAVE_STATUS_BASE 0x080
|
|
#define CAN_ID_CHARGER_ACTIVE 0x200
|
|
|
|
|
|
|
|
void initCan(FDCAN_HandleTypeDef *hcan);
|
|
|
|
#endif /* INC_CAN_H_ */
|