|
isotp-c
Platform-independent ISO 15765-2 transport for embedded C
|
Values used to configure CAN and CAN FD transmission. More...
Macros | |
| #define | ISOTP_CAN_DL_CLASSIC 8 |
| #define | ISOTP_CAN_FRAME_FLAG_NONE 0x00 |
| #define | ISOTP_CAN_FRAME_FLAG_FD 0x01 |
| #define | ISOTP_CAN_FRAME_FLAG_BRS 0x02 |
| #define | ISOTP_SF_MAX_PAYLOAD(can_dl) |
Values used to configure CAN and CAN FD transmission.
| #define ISOTP_CAN_DL_CLASSIC 8 |
Number of payload bytes in a full Classical CAN frame.
Definition at line 54 of file isotp_defines.h.
| #define ISOTP_CAN_FRAME_FLAG_BRS 0x02 |
Enable CAN FD bit-rate switching for the data phase.
Definition at line 70 of file isotp_defines.h.
| #define ISOTP_CAN_FRAME_FLAG_FD 0x01 |
Transmit a CAN FD frame.
Definition at line 68 of file isotp_defines.h.
| #define ISOTP_CAN_FRAME_FLAG_NONE 0x00 |
Transmit a Classical CAN frame; no optional frame properties are set.
Definition at line 66 of file isotp_defines.h.
| #define ISOTP_SF_MAX_PAYLOAD | ( | can_dl | ) |
Largest ISO-TP payload that fits in one frame for a given CAN_DL.
CAN FD data lengths use the two-byte SF_DL escape header; Classical CAN uses a one-byte header.
Definition at line 78 of file isotp_defines.h.