CAN DragonEmSA
structTypes and Enums

emsacan_msg_t

Description

One received or transmitted CAN frame for the public API.

Fields

FieldTypeDescription
timestampuint64_t
iduint32_t
lenuint8_t
typeemsacan_msg_type_t
statuint16_tExtra status: state of input pins, see EMSACAN_MSGSTAT_xxx
datauint8_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 */ }

See also