Fork of the official mbed C/C++ SDK provides the software platform and libraries to build your applications. The fork has the documentation converted to Doxygen format
Dependents: NervousPuppySprintOne NervousPuppySprint2602 Robot WarehouseBot1 ... more
Fork of mbed by
CANMessage Class Reference
CANMessage class. More...
#include <CAN.h>
Inherits CAN_Message.
Public Member Functions | |
CANMessage () | |
Creates empty CAN message. | |
CANMessage (int _id, const char *_data, char _len=8, CANType _type=CANData, CANFormat _format=CANStandard) | |
Creates CAN message with specific content. | |
CANMessage (int _id, CANFormat _format=CANStandard) | |
Creates CAN remote message. | |
Data Fields | |
unsigned int | id |
The message id. | |
unsigned char | data [8] |
Space for 8 byte payload. | |
unsigned char | len |
Length of data in bytes. | |
CANFormat | format |
Defines if the message has standard or extended format. | |
CANType | type |
Defines the type of a message. |
Detailed Description
CANMessage class.
Definition at line 26 of file CAN.h.
Constructor & Destructor Documentation
CANMessage | ( | ) |
CANMessage | ( | int | _id, |
const char * | _data, | ||
char | _len = 8 , |
||
CANType | _type = CANData , |
||
CANFormat | _format = CANStandard |
||
) |
CANMessage | ( | int | _id, |
CANFormat | _format = CANStandard |
||
) |
Field Documentation
unsigned char data[8] |
CANFormat format |
unsigned int id |
unsigned char len |
Generated on Tue Jul 12 2022 11:27:31 by 1.7.2