CARME-M4 BSP  V1.5
_CARME_CAN_MESSAGE Struct Reference

This struct encapsulates a CAN message. More...

#include <can.h>

Data Fields

uint32_t id
 
uint8_t ext
 
uint8_t rtr
 
uint8_t dlc
 
uint8_t data [8]
 

Detailed Description

This struct encapsulates a CAN message.

Examples:
can.c.

Definition at line 138 of file can.h.

Field Documentation

uint8_t data[8]

Array with received databytes

Examples:
can.c.

Definition at line 145 of file can.h.

uint8_t dlc

Number of data-bytes in the received CAN message

Examples:
can.c.

Definition at line 144 of file can.h.

uint8_t ext

Frame format:

  • 0: Standard Frame Format (SFF)
  • 1: Extended Frame Format (EFF)
Examples:
can.c.

Definition at line 140 of file can.h.

uint32_t id

standard or extended Identifier

Examples:
can.c.

Definition at line 139 of file can.h.

uint8_t rtr

If 1 the RTR Bit was set in the received CAN message

Examples:
can.c.

Definition at line 143 of file can.h.


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