63 #include "HL_reg_system.h"
74 #define CANTX_BOOT_MESSAGE_MAXIMUM_RELEASE_DISTANCE (31u)
75 #if CANTX_BOOT_MESSAGE_MAXIMUM_RELEASE_DISTANCE > UINT8_MAX
76 #error "This code assumes that the define is smaller or equal to UINT8_MAX")
80 #define CANTX_BOOT_MESSAGE_BYTE_3_BIT_VERSION_CONTROL (0u)
83 #define CANTX_BOOT_MESSAGE_BYTE_3_BIT_DIRTY_FLAG (1u)
86 #define CANTX_BOOT_MESSAGE_BYTE_3_BIT_DISTANCE_OVERFLOW_FLAG (2u)
89 #define CANTX_BOOT_MESSAGE_BYTE_3_BIT_DISTANCE_COUNTER (3u)
112 uint8_t versionControlByte = 0u;
136 const uint32_t deviceRegister = systemREG1->DEVID;
153 const uint32_t dieIdLow = systemREG1->DIEIDL;
154 const uint32_t dieIdHigh = systemREG1->DIEIDH;
STD_RETURN_TYPE_e CAN_DataSend(canBASE_t *pNode, uint32_t id, uint8 *pData)
Sends over CAN the data passed in parameters. This function goes over the message boxes and marks the...
Header for the driver for the CAN module.
Header for the driver for the CAN module.
#define CANTX_BOOT_MESSAGE_BYTE_3_BIT_DIRTY_FLAG
#define CANTX_BOOT_MESSAGE_MAXIMUM_RELEASE_DISTANCE
STD_RETURN_TYPE_e CANTX_TransmitDieId(void)
Transmit chip id.
#define CANTX_BOOT_MESSAGE_BYTE_3_BIT_DISTANCE_OVERFLOW_FLAG
#define CANTX_BOOT_MESSAGE_BYTE_3_BIT_VERSION_CONTROL
STD_RETURN_TYPE_e CANTX_TransmitBootMessage(void)
Transmit startup boot message.
#define CANTX_BOOT_MESSAGE_BYTE_3_BIT_DISTANCE_COUNTER
Header file of some software.
Headers for the helper functions for the CAN module.
#define CAN_BYTE_2_POSITION
#define CAN_BYTE_4_POSITION
#define CAN_BYTE_0_POSITION
#define CAN_BYTE_6_POSITION
#define CAN_BYTE_7_POSITION
#define CAN_BYTE_3_POSITION
#define CAN_BYTE_5_POSITION
#define CAN_BYTE_1_POSITION
uint16_t MATH_MinimumOfTwoUint16_t(const uint16_t value1, const uint16_t value2)
Returns the minimum of the passed uint16_t values.
math library for often used math functions
Header of task driver implementation.
#define GEN_REPEAT_U(x, n)
Macro that helps to generate a series of literals (for array initializers).
const bool underVersionControl
const uint16_t distanceFromLastRelease
Header file for the version information that is generated by the toolchain.
const VER_VERSION_s ver_foxbmsVersionInformation