Public Member Functions | List of all members
can::ErrorHeader Struct Reference

#include <interface.h>

Inheritance diagram for can::ErrorHeader:
Inheritance graph
[legend]

Public Member Functions

 ErrorHeader (unsigned int i=0)
 
- Public Member Functions inherited from can::Header
 Header ()
 
 Header (unsigned int i, bool extended, bool rtr, bool error)
 
bool isValid () const
 
 operator const unsigned int () const
 

Additional Inherited Members

- Public Attributes inherited from can::Header
unsigned int id:29
 CAN ID (11 or 29 bits valid, depending on is_extended member. More...
 
unsigned int is_error:1
 marks an error frame (only used internally) More...
 
unsigned int is_extended:1
 frame uses 29 bit CAN identifier More...
 
unsigned int is_rtr:1
 frame is a remote transfer request More...
 
- Static Public Attributes inherited from can::Header
static const unsigned int ERROR_MASK = (1u << 29)
 
static const unsigned int EXTENDED_MASK = (1u << 31)
 
static const unsigned int ID_MASK = (1u << 29)-1
 
static const unsigned int RTR_MASK = (1u << 30)
 

Detailed Description

Definition at line 49 of file interface.h.

Constructor & Destructor Documentation

can::ErrorHeader::ErrorHeader ( unsigned int  i = 0)
inline

Definition at line 50 of file interface.h.


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


socketcan_interface
Author(s): Mathias Lüdtke
autogenerated on Sat May 4 2019 02:40:41