foxBMS - Unit Tests  1.3.0
The foxBMS Unit Tests API Documentation
CAN_MSG_TX_TYPE_s Struct Reference

#include <can_cfg.h>

Collaboration diagram for CAN_MSG_TX_TYPE_s:

Data Fields

canBASE_t * canNode
 
uint32_t id
 
uint8_t dlc
 
uint32_t repetitionTime
 
uint32_t repetitionPhase
 
CAN_ENDIANNESS_e endianness
 
CAN_TxCallbackFunction_f callbackFunction
 
uint8_t * pMuxId
 

Detailed Description

type definition for structure of a TX CAN message

Definition at line 347 of file can_cfg.h.

Field Documentation

◆ callbackFunction

CAN_TxCallbackFunction_f CAN_MSG_TX_TYPE_s::callbackFunction

CAN message callback after message is sent

Definition at line 354 of file can_cfg.h.

◆ canNode

canBASE_t* CAN_MSG_TX_TYPE_s::canNode

CAN node on which the message is transmitted

Definition at line 348 of file can_cfg.h.

◆ dlc

uint8_t CAN_MSG_TX_TYPE_s::dlc

CAN message data length code

Definition at line 350 of file can_cfg.h.

◆ endianness

CAN_ENDIANNESS_e CAN_MSG_TX_TYPE_s::endianness

Byte order (big or little endian)

Definition at line 353 of file can_cfg.h.

◆ id

uint32_t CAN_MSG_TX_TYPE_s::id

CAN message id

Definition at line 349 of file can_cfg.h.

◆ pMuxId

uint8_t* CAN_MSG_TX_TYPE_s::pMuxId

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

Definition at line 355 of file can_cfg.h.

◆ repetitionPhase

uint32_t CAN_MSG_TX_TYPE_s::repetitionPhase

CAN message startup (first send) offset

Definition at line 352 of file can_cfg.h.

◆ repetitionTime

uint32_t CAN_MSG_TX_TYPE_s::repetitionTime

CAN message cycle time

Definition at line 351 of file can_cfg.h.


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