emsacan_msg_t
Description
One received or transmitted CAN frame for the public API.
Fields
| Field | Type | Description |
|---|---|---|
timestamp | uint64_t | — |
id | uint32_t | — |
len | uint8_t | — |
type | emsacan_msg_type_t | — |
stat | uint16_t | Extra status: state of input pins, see EMSACAN_MSGSTAT_xxx |
data | uint8_t[64] | Payload; only used bytes are transmitted. |
Example
emsacan_result_t rc = EmSACAN_ConfigureCanPipeForwarder(0); /* 0 = disable RX pipe */
if (rc != EMSACAN_OK) { /* handle error */ }
