Master_Interface/Core/Inc/Check_Shunt_Limits.h

21 lines
464 B
C
Raw Permalink Normal View History

2022-07-03 17:33:09 +02:00
/*
* Check_Shunt_Limits.h
*
* Created on: Jun 16, 2022
* Author: max
*/
#ifndef INC_CHECK_SHUNT_LIMITS_H_
#define INC_CHECK_SHUNT_LIMITS_H_
#include "CAN_Communication.h"
#include "main.h"
#define SHUNT_OVERCURRENT 0x0FFFFFFF // Shunt Overcurrent Limit
2022-07-18 16:56:38 +02:00
#define SHUNT_TIMEOUT 500 // Timeout after 500ms
2022-07-03 17:33:09 +02:00
#define SHUNT_OVERTEMP 0xFFFFFFFF // Overtermperature of the Busbar
void CheckShuntLimits();
#endif /* INC_CHECK_SHUNT_LIMITS_H_ */