J1939 Documentation
Version 4.16.00
Loading...
Searching...
No Matches
J1939 PGN configuration

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)
 

Detailed Description

The field J1939_PGN_Entry_s::uwControl holds the priority and message direction of a PGN.

Macro Definition Documentation

◆ J1939_MSG_FP

#define J1939_MSG_FP   ((uint16_t) 0x0100)

PGN can support the Fast-Packet protocol.

◆ J1939_MSG_NO_RQST

#define J1939_MSG_NO_RQST   ((uint16_t) 0x0200)

PGN can not be requested.

◆ J1939_MSG_RCV

#define J1939_MSG_RCV   ((uint16_t) 0x0040)

PGN is received by the J1939 Protocol Stack.

◆ J1939_MSG_TRM

#define J1939_MSG_TRM   ((uint16_t) 0x0080)

PGN is transmitted by the J1939 Protocol Stack.

◆ J1939_PRIORITY_CTRL

#define J1939_PRIORITY_CTRL   ((uint16_t) 0x0003)

PGN has priority level 3 (Control).

◆ J1939_PRIORITY_INFO

#define J1939_PRIORITY_INFO   ((uint16_t) 0x0006)

PGN has priority level 6 (Info).

◆ J1939_PRIORITY_LEVEL_0

#define J1939_PRIORITY_LEVEL_0   ((uint16_t) 0x0000)

PGN has priority level 0.

◆ J1939_PRIORITY_LEVEL_1

#define J1939_PRIORITY_LEVEL_1   ((uint16_t) 0x0001)

PGN has priority level 1.

◆ J1939_PRIORITY_LEVEL_2

#define J1939_PRIORITY_LEVEL_2   ((uint16_t) 0x0002)

PGN has priority level 2.

◆ J1939_PRIORITY_LEVEL_3

#define J1939_PRIORITY_LEVEL_3   ((uint16_t) 0x0003)

PGN has priority level 3.

◆ J1939_PRIORITY_LEVEL_4

#define J1939_PRIORITY_LEVEL_4   ((uint16_t) 0x0004)

PGN has priority level 4.

◆ J1939_PRIORITY_LEVEL_5

#define J1939_PRIORITY_LEVEL_5   ((uint16_t) 0x0005)

PGN has priority level 5.

◆ J1939_PRIORITY_LEVEL_6

#define J1939_PRIORITY_LEVEL_6   ((uint16_t) 0x0006)

PGN has priority level 6.

◆ J1939_PRIORITY_LEVEL_7

#define J1939_PRIORITY_LEVEL_7   ((uint16_t) 0x0007)

PGN has priority level 7.