One CAN or CAN FD frame; len is a byte count, never a DLC code.
More...
#include <HfCanPort.h>
|
| constexpr bool | IsExtended () const noexcept |
| |
| constexpr bool | IsRemote () const noexcept |
| |
| constexpr bool | IsFd () const noexcept |
| |
|
| uint32_t | id {0} |
| |
| uint8_t | len {0} |
| |
| uint8_t | flags {0} |
| |
| uint8_t | data [kFdMaxLen] {} |
| |
| uint32_t | ts_us {0} |
| | RX timestamp (µs, port clock); ignored on TX.
|
| |
One CAN or CAN FD frame; len is a byte count, never a DLC code.
◆ IsExtended()
| constexpr bool hf::can::CanFrame::IsExtended |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ IsFd()
| constexpr bool hf::can::CanFrame::IsFd |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ IsRemote()
| constexpr bool hf::can::CanFrame::IsRemote |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ data
| uint8_t hf::can::CanFrame::data[kFdMaxLen] {} |
◆ flags
| uint8_t hf::can::CanFrame::flags {0} |
◆ id
| uint32_t hf::can::CanFrame::id {0} |
◆ len
| uint8_t hf::can::CanFrame::len {0} |
◆ ts_us
| uint32_t hf::can::CanFrame::ts_us {0} |
RX timestamp (µs, port clock); ignored on TX.
The documentation for this struct was generated from the following file: