rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Data Structures | Functions | Variables
can_msg_tx.h File Reference

Detailed Description

CAN message transmission

Date
Mar 13, 2020
Author
Matthew Kennedy, (c) 2012-2020

Definition in file can_msg_tx.h.

Data Structures

class  CanTxMessage
 
class  CanTxTyped< TData >
 

Functions

template<typename TData >
void transmitStruct (CanCategory category, uint32_t id, bool isExtended, bool canChannel)
 

Variables

fifo_buffer< CANTxFrame, 1024 > txCanBuffer
 

Function Documentation

◆ transmitStruct()

template<typename TData >
void transmitStruct ( CanCategory  category,
uint32_t  id,
bool  isExtended,
bool  canChannel 
)

Definition at line 141 of file can_msg_tx.h.

142{
143 CanTxTyped<TData> frame(category, id, isExtended, canChannel);
144 // Destruction of an instance of CanTxMessage will transmit the message over the wire.
145 // see CanTxMessage::~CanTxMessage()
146 populateFrame(frame.get());
147}
static void populateFrame(Aim5f0 &msg)
Definition can_dash.cpp:459
static CanTsChannel canChannel
Here is the call graph for this function:

Variable Documentation

◆ txCanBuffer

fifo_buffer<CANTxFrame, 1024> txCanBuffer
extern

Definition at line 19 of file can_msg_tx.cpp.

Referenced by CanTxMessage::~CanTxMessage().

Go to the source code of this file.