CANOPEN_CLIENT Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
canopen_client::CanFrame Struct Reference

One classic CAN frame with an 11-bit identifier. More...

#include <canopen_client_types.hpp>

Public Attributes

uint16_t id {0}
 The 11-bit identifier (COB-ID).
 
uint8_t dlc {0}
 Number of data bytes, 0 to 8.
 
bool rtr {false}
 Remote transmission request (used by node guarding only).
 
std::array< uint8_t, 8 > data {}
 The payload; bytes at and past dlc are not meaningful.
 

Detailed Description

One classic CAN frame with an 11-bit identifier.

Extended (29-bit) and CAN FD frames are not representable: a port drops them. Data bytes past dlc are zero in every frame the driver builds and are ignored in every frame it receives.


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