modm API documentation
modm::can::Message Struct Reference

#include <modm/architecture/interface/can_message.hpp>


struct  Flags

Public Member Functions

 Message (uint32_t inIdentifier=0, uint8_t inLength=0)
 Message (uint32_t inIdentifier, uint8_t inLength, const uint64_t &inData, bool extended=false)
uint32_t getIdentifier () const
void setIdentifier (uint32_t id)
void setExtended (bool extended=true)
bool isExtended () const
void setRemoteTransmitRequest (bool rtr=true)
bool isRemoteTransmitRequest () const
uint8_t getLength () const
void setLength (uint8_t len)
uint8_t modm_aligned (4) data[8]
bool operator== (const modm::can::Message &rhs) const
bool operator< (const modm::can::Message &rhs) const

Public Attributes

uint32_t identifier
struct modm::can::Message::Flags flags
uint8_t length

Detailed Description

Representation of a CAN message

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