foxBMS  1.4.0
The foxBMS Battery Management System API Documentation
CAN_MSG_RX_TYPE_s Struct Reference

#include <can_cfg.h>

Collaboration diagram for CAN_MSG_RX_TYPE_s:

Data Fields

canBASE_t * canNode
 
uint32_t id
 
uint8_t dlc
 
CAN_ENDIANNESS_e endianness
 
CAN_RxCallbackFunction_f callbackFunction
 

Detailed Description

type definition for structure of an RX CAN message

Definition at line 360 of file can_cfg.h.

Field Documentation

◆ callbackFunction

CAN_RxCallbackFunction_f CAN_MSG_RX_TYPE_s::callbackFunction

CAN message callback after message is received

Definition at line 365 of file can_cfg.h.

◆ canNode

canBASE_t* CAN_MSG_RX_TYPE_s::canNode

CAN node on which the message is received

Definition at line 361 of file can_cfg.h.

◆ dlc

uint8_t CAN_MSG_RX_TYPE_s::dlc

data length

Definition at line 363 of file can_cfg.h.

◆ endianness

CAN_ENDIANNESS_e CAN_MSG_RX_TYPE_s::endianness

Byte order (big or little endian)

Definition at line 364 of file can_cfg.h.

◆ id

uint32_t CAN_MSG_RX_TYPE_s::id

message ID

Definition at line 362 of file can_cfg.h.


The documentation for this struct was generated from the following file: