20#define HAL_CAN_SEND_PERIOD_NO_REPEAT 0
25#define HAL_CAN_SEND_PERIOD_STOP_REPEATING -1
30#define HAL_CAN_IS_FRAME_REMOTE 0x80000000
35#define HAL_CAN_IS_FRAME_11BIT 0x40000000
37#define HAL_ERR_CANSessionMux_InvalidBuffer -44086
38#define HAL_ERR_CANSessionMux_MessageNotFound -44087
39#define HAL_WARN_CANSessionMux_NoToken 44087
40#define HAL_ERR_CANSessionMux_NotAllowed -44088
41#define HAL_ERR_CANSessionMux_NotInitialized -44089
42#define HAL_ERR_CANSessionMux_SessionOverrun 44050
69 uint8_t dataSize, int32_t periodMs, int32_t* status);
83 uint8_t* data, uint8_t* dataSize,
84 uint32_t* timeStamp, int32_t* status);
96 uint32_t messageIDMask, uint32_t maxMessages,
117 uint32_t messagesToRead, uint32_t* messagesRead,
131 uint32_t* txFullCount, uint32_t* receiveErrorCount,
132 uint32_t* transmitErrorCount, int32_t* status);
void HAL_CAN_ReadStreamSession(uint32_t sessionHandle, struct HAL_CANStreamMessage *messages, uint32_t messagesToRead, uint32_t *messagesRead, int32_t *status)
Reads a CAN stream message.
void HAL_CAN_CloseStreamSession(uint32_t sessionHandle)
Closes a CAN stream.
void HAL_CAN_GetCANStatus(float *percentBusUtilization, uint32_t *busOffCount, uint32_t *txFullCount, uint32_t *receiveErrorCount, uint32_t *transmitErrorCount, int32_t *status)
Gets CAN status information.
void HAL_CAN_SendMessage(uint32_t messageID, const uint8_t *data, uint8_t dataSize, int32_t periodMs, int32_t *status)
Sends a CAN message.
void HAL_CAN_OpenStreamSession(uint32_t *sessionHandle, uint32_t messageID, uint32_t messageIDMask, uint32_t maxMessages, int32_t *status)
Opens a CAN stream.
void HAL_CAN_ReceiveMessage(uint32_t *messageID, uint32_t messageIDMask, uint8_t *data, uint8_t *dataSize, uint32_t *timeStamp, int32_t *status)
Receives a CAN message.
Storage for CAN Stream Messages.
Definition: CAN.h:47
uint32_t messageID
Definition: CAN.h:48
uint32_t timeStamp
Definition: CAN.h:49
uint8_t data[8]
Definition: CAN.h:50
uint8_t dataSize
Definition: CAN.h:51