CDX_CAN_FRAME_STRUCT
Received frame; the frame and data are valid only during RX callback.
Contents
Public Attributes
| Attribute | Description |
|---|---|
| id | Raw 11-bit or 29-bit CAN identifier. |
| bus | CDX_CAN_BUS_ID_IPC for Model IPC. |
| error_type | Zero; error frames are not supported. |
| flags | IDE, EDL and BRS frame attributes. |
| timestamp_ticks | Receiver-local arrival microseconds. |
| hw_timestamp | Zero; no physical CAN timestamp. |
| length_bytes | Payload bytes: classic 0..8, FD 0..64. |
| data_chunks | Number of chunks, ceil(length_bytes/8). |
| reserved | Zero; reserved for future API use. |
| data | Borrowed aligned chunks; copy to retain. |
Public Attributes
Field: id
Raw 11-bit or 29-bit CAN identifier.
1uint32_t idField: bus
CDX_CAN_BUS_ID_IPC for Model IPC.
1CDX_CAN_BUS_ID busField: error_type
Zero; error frames are not supported.
1uint8_t error_typeField: flags
IDE, EDL and BRS frame attributes.
1CDX_CAN_FRAME_FLAGS flagsField: timestamp_ticks
Receiver-local arrival microseconds.
1CDX_TICKS_32 timestamp_ticksField: hw_timestamp
Zero; no physical CAN timestamp.
1uint32_t hw_timestampField: length_bytes
Payload bytes: classic 0..8, FD 0..64.
1uint16_t length_bytesField: data_chunks
Number of chunks, ceil(length_bytes/8).
1uint8_t data_chunksField: reserved
Zero; reserved for future API use.
1uint8_t reservedField: data
Borrowed aligned chunks; copy to retain.
1CDX_DATA_64 const * data