MIRA
Public Member Functions | Public Attributes | List of all members
CANMessage Struct Reference

A definition of a CAN message. More...

#include <can/CANDefs.h>

Public Member Functions

template<typename Reflector >
void reflect (Reflector &r)
 
 CANMessage ()
 The constructor for this struct. More...
 

Public Attributes

uint32 id
 11/29 bit identifier More...
 
uint8 type
 CAN_MSG_TYPE_*. More...
 
uint8 len
 number of data bytes (0...8) More...
 
uint8 data [8]
 up to 8 data bytes More...
 

Detailed Description

A definition of a CAN message.

Constructor & Destructor Documentation

◆ CANMessage()

CANMessage ( )
inline

The constructor for this struct.

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

Member Data Documentation

◆ id

uint32 id

11/29 bit identifier

◆ type

uint8 type

CAN_MSG_TYPE_*.

◆ len

uint8 len

number of data bytes (0...8)

◆ data

uint8 data[8]

up to 8 data bytes


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