Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 20:12:26 by
