Loading...
Searching...
No Matches

Structure to pass a CAN option. More...

Detailed Description

Structure to pass a CAN option.

Definition at line 72 of file common.h.

#include <common.h>

Data Fields

canopt_t opt
 the option to get/set
 
uint16_t context
 (optional) context for that option
 
void * data
 data to set or buffer to read into
 
uint16_t data_len
 size of the data / the buffer
 

Field Documentation

◆ context

uint16_t can_opt_t::context

(optional) context for that option

Definition at line 74 of file common.h.

◆ data

void* can_opt_t::data

data to set or buffer to read into

Definition at line 75 of file common.h.

◆ data_len

uint16_t can_opt_t::data_len

size of the data / the buffer

Definition at line 76 of file common.h.

◆ opt

canopt_t can_opt_t::opt

the option to get/set

Definition at line 73 of file common.h.


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