|
HardFOC Core
API reference
|
#include <hf_co_driver.h>
Public Attributes | |
| hf_co_tx_result_t(* | send )(void *ctx, const hf_co_frame_t *frame) |
| bool(* | status )(void *ctx, hf_co_port_status_t *out) |
| bool(* | recover )(void *ctx) |
Port callbacks. send is required; the others may be NULL.
| bool(* hf_co_port_ops_t::recover) (void *ctx) |
Request bus-off recovery; return false if refused. Called without the CO lock.
| hf_co_tx_result_t(* hf_co_port_ops_t::send) (void *ctx, const hf_co_frame_t *frame) |
Queue frame without blocking. Called with the CO CAN-send lock held.
| bool(* hf_co_port_ops_t::status) (void *ctx, hf_co_port_status_t *out) |
Fill out; return false if unavailable. Called from CO_CANmodule_process().