Mistake on this page?
Report an issue in GitHub or email us
Public Member Functions
mbed::CANMessage Class Reference

#include <CAN.h>

Inheritance diagram for mbed::CANMessage:
CAN_Message

Public Member Functions

 CANMessage ()
 
 CANMessage (int _id, const char *_data, char _len=8, CANType _type=CANData, CANFormat _format=CANStandard)
 
 CANMessage (int _id, CANFormat _format=CANStandard)
 

Additional Inherited Members

- Data Fields inherited from CAN_Message
unsigned int id
 
unsigned char data [8]
 
unsigned char len
 
CANFormat format
 
CANType type
 

Detailed Description

CANMessage class

Note
Synchronization level: Thread safe

Constructor & Destructor Documentation

mbed::CANMessage::CANMessage ( )
inline

Creates empty CAN message.

mbed::CANMessage::CANMessage ( int  _id,
const char *  _data,
char  _len = 8,
CANType  _type = CANData,
CANFormat  _format = CANStandard 
)
inline

Creates CAN message with specific content.

Parameters
_idMessage ID
_dataMesaage Data
_lenMessage Data length
_typeType of Data: Use enum CANType for valid parameter values
_formatData Format: Use enum CANFormat for valid parameter values
mbed::CANMessage::CANMessage ( int  _id,
CANFormat  _format = CANStandard 
)
inline

Creates CAN remote message.

Parameters
_idMessage ID
_formatData Format: Use enum CANType for valid parameter values

The documentation for this class was generated from the following file:
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.