HardFOC Core
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
hf_co_frame_t Struct Reference

#include <hf_co_driver.h>

Public Attributes

uint32_t id
 
uint8_t len
 
uint8_t flags
 
uint8_t data [HF_CO_FRAME_MAX_LEN]
 
uint32_t ts_us
 

Detailed Description

Transport frame. Same layout as hf::can::CanFrame (checked in HfCoPortBinding.h).

Member Data Documentation

◆ data

uint8_t hf_co_frame_t::data[HF_CO_FRAME_MAX_LEN]

payload

◆ flags

uint8_t hf_co_frame_t::flags

HF_CO_FRAME_*

◆ id

uint32_t hf_co_frame_t::id

11- or 29-bit identifier

◆ len

uint8_t hf_co_frame_t::len

payload length in bytes (not a DLC code)

◆ ts_us

uint32_t hf_co_frame_t::ts_us

RX timestamp (port clock); ignored on TX


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