|
Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
|
Standard CAN 2.0B classic frame structure (up to 8 bytes payload). More...
#include <CanAdapter.hpp>
Collaboration diagram for corium::embedded::CanFrame:Public Member Functions | |
| std::span< const uint8_t > | payload () const noexcept |
Public Attributes | |
| std::array< uint8_t, 8 > | data {} |
| Payload bytes. | |
| uint8_t | dlc {0} |
| Data Length Code (0..8) | |
| uint32_t | id {0} |
| 11-bit standard or 29-bit extended identifier | |
| bool | isExtended {false} |
| True if 29-bit extended ID. | |
| bool | isRtr {false} |
| Remote Transmission Request flag. | |
Standard CAN 2.0B classic frame structure (up to 8 bytes payload).
|
inlinenoexcept |
| std::array<uint8_t, 8> corium::embedded::CanFrame::data {} |
Payload bytes.
| uint8_t corium::embedded::CanFrame::dlc {0} |
Data Length Code (0..8)
| uint32_t corium::embedded::CanFrame::id {0} |
11-bit standard or 29-bit extended identifier
| bool corium::embedded::CanFrame::isExtended {false} |
True if 29-bit extended ID.
| bool corium::embedded::CanFrame::isRtr {false} |
Remote Transmission Request flag.