Red Bird Racing VCU v2
 
Loading...
Searching...
No Matches
Debug_can.hpp File Reference

Declaration of the Debug_CAN namespace for CAN debugging functions. More...

#include <mcp2515.h>
#include "Enums.hpp"
Include dependency graph for Debug_can.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Debug_CAN
 Namespace for CAN debugging functions.
 

Functions

void Debug_CAN::initialize (MCP2515 *can_interface)
 Initializes the Debug_CAN interface. It should be called before using any other Debug_CAN functions.
 
void Debug_CAN::send_message (canid_t id, uint8_t data0=0x00, uint8_t data1=0x00, uint8_t data2=0x00, uint8_t data3=0x00, uint8_t data4=0x00, uint8_t data5=0x00, uint8_t data6=0x00, uint8_t data7=0x00)
 Sends arbitrary debug data via CAN with specified message ID and data bytes.
 

Variables

MCP2515 * Debug_CAN::can_interface = nullptr
 

Detailed Description

Declaration of the Debug_CAN namespace for CAN debugging functions.

Author
Planeson, Chiho, Red Bird Racing
Version
2.0.1
Date
2026-03-04
See also
Debug_can.cpp

Definition in file Debug_can.hpp.