Struct Frame
Defined in File interface.hpp
Inheritance Relationships
Base Type
public can::Header
(Struct Header)
Struct Documentation
-
struct Frame : public can::Header
representation of a CAN frame
Public Types
-
typedef unsigned char value_type
Public Functions
-
inline bool isValid() const
check if frame header and length are valid
-
inline Frame()
constructor with default parameters
- Parameters:
i – [in] CAN id, defaults to 0
l – [in] number of data bytes, defaults to 0
extended – [in] uses 29 bit identifier, defaults to false
rtr – [in] is rtr frame, defaults to false
-
inline value_type *c_array()
-
inline const value_type *c_array() const
-
typedef unsigned char value_type