J1939 Documentation
Version 4.16.00
|
Macros | |
#define | J1939_PRIORITY_LEVEL_0 ((uint16_t) 0x0000) |
#define | J1939_PRIORITY_LEVEL_1 ((uint16_t) 0x0001) |
#define | J1939_PRIORITY_LEVEL_2 ((uint16_t) 0x0002) |
#define | J1939_PRIORITY_LEVEL_3 ((uint16_t) 0x0003) |
#define | J1939_PRIORITY_LEVEL_4 ((uint16_t) 0x0004) |
#define | J1939_PRIORITY_LEVEL_5 ((uint16_t) 0x0005) |
#define | J1939_PRIORITY_LEVEL_6 ((uint16_t) 0x0006) |
#define | J1939_PRIORITY_LEVEL_7 ((uint16_t) 0x0007) |
#define | J1939_PRIORITY_CTRL ((uint16_t) 0x0003) |
#define | J1939_PRIORITY_INFO ((uint16_t) 0x0006) |
#define | J1939_MSG_RCV ((uint16_t) 0x0040) |
#define | J1939_MSG_TRM ((uint16_t) 0x0080) |
#define | J1939_MSG_FP ((uint16_t) 0x0100) |
#define | J1939_MSG_NO_RQST ((uint16_t) 0x0200) |
The field J1939_PGN_Entry_s::uwControl holds the priority and message direction of a PGN.
#define J1939_MSG_FP ((uint16_t) 0x0100) |
PGN can support the Fast-Packet protocol.
#define J1939_MSG_NO_RQST ((uint16_t) 0x0200) |
PGN can not be requested.
#define J1939_MSG_RCV ((uint16_t) 0x0040) |
PGN is received by the J1939 Protocol Stack.
#define J1939_MSG_TRM ((uint16_t) 0x0080) |
PGN is transmitted by the J1939 Protocol Stack.
#define J1939_PRIORITY_CTRL ((uint16_t) 0x0003) |
PGN has priority level 3 (Control).
#define J1939_PRIORITY_INFO ((uint16_t) 0x0006) |
PGN has priority level 6 (Info).
#define J1939_PRIORITY_LEVEL_0 ((uint16_t) 0x0000) |
PGN has priority level 0.
#define J1939_PRIORITY_LEVEL_1 ((uint16_t) 0x0001) |
PGN has priority level 1.
#define J1939_PRIORITY_LEVEL_2 ((uint16_t) 0x0002) |
PGN has priority level 2.
#define J1939_PRIORITY_LEVEL_3 ((uint16_t) 0x0003) |
PGN has priority level 3.
#define J1939_PRIORITY_LEVEL_4 ((uint16_t) 0x0004) |
PGN has priority level 4.
#define J1939_PRIORITY_LEVEL_5 ((uint16_t) 0x0005) |
PGN has priority level 5.
#define J1939_PRIORITY_LEVEL_6 ((uint16_t) 0x0006) |
PGN has priority level 6.
#define J1939_PRIORITY_LEVEL_7 ((uint16_t) 0x0007) |
PGN has priority level 7.