TTK4155 Lab Node 1
Term project in the NTNU course TTK4155 Embedded and Industrial Computer Systems Design
Loading...
Searching...
No Matches
can_msg Struct Reference

Represents a simple CAN message with an address, data count, and a single byte of data. More...

#include <can.h>

Data Fields

uint8_t adress
uint8_t num_df
uint8_t data

Detailed Description

Represents a simple CAN message with an address, data count, and a single byte of data.

Definition at line 33 of file can.h.

Field Documentation

◆ adress

uint8_t can_msg::adress

Node address or identifier of the message

Definition at line 34 of file can.h.

◆ data

uint8_t can_msg::data

Single data byte payload

Definition at line 36 of file can.h.

◆ num_df

uint8_t can_msg::num_df

Number of data frames (or message fragments)

Definition at line 35 of file can.h.


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