foxBMS - Unit Tests  1.1.0
The foxBMS Unit Tests API Documentation
CAN_MSG_TX_TYPE Struct Reference

#include <can_cfg.h>

Collaboration diagram for CAN_MSG_TX_TYPE:

Data Fields

uint32_t id
uint8_t dlc
uint32_t repetitionTime
uint32_t repetitionPhase
CAN_ENDIANNESS_e endianness
can_callback_funcPtr callbackFunction
uint8_t * pMuxId

Detailed Description

type definition for structure of a TX CAN message

Definition at line 322 of file can_cfg.h.

Field Documentation

◆ callbackFunction

can_callback_funcPtr CAN_MSG_TX_TYPE::callbackFunction

CAN message callback after message is sent

Definition at line 328 of file can_cfg.h.

◆ dlc

uint8_t CAN_MSG_TX_TYPE::dlc

CAN message data length code

Definition at line 324 of file can_cfg.h.

◆ endianness


Byte order (big or little endian)

Definition at line 327 of file can_cfg.h.

◆ id

uint32_t CAN_MSG_TX_TYPE::id

CAN message id

Definition at line 323 of file can_cfg.h.

◆ pMuxId

uint8_t* CAN_MSG_TX_TYPE::pMuxId

for multiplexed signals: callback can use this as pointer to a mux variable, NULL_PTR if unused

Definition at line 329 of file can_cfg.h.

◆ repetitionPhase

uint32_t CAN_MSG_TX_TYPE::repetitionPhase

CAN message startup (first send) offset

Definition at line 326 of file can_cfg.h.

◆ repetitionTime

uint32_t CAN_MSG_TX_TYPE::repetitionTime

CAN message cycle time

Definition at line 325 of file can_cfg.h.

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