243 #define CANSTATUS_SUCCESS(X) ((X) == canOK) 244 #define CANSTATUS_FAILURE(X) ((X) != canOK) 253 #define canEVENT_RX 32000 254 #define canEVENT_TX 32001 255 #define canEVENT_ERROR 32002 256 #define canEVENT_STATUS 32003 257 #define canEVENT_ENVVAR 32004 258 # define canEVENT_BUSONOFF 32005 259 # define canEVENT_REMOVED 32006 273 #define canNOTIFY_NONE 0 274 #define canNOTIFY_RX 0x0001 275 #define canNOTIFY_TX 0x0002 276 #define canNOTIFY_ERROR 0x0004 277 #define canNOTIFY_STATUS 0x0008 278 #define canNOTIFY_ENVVAR 0x0010 279 # define canNOTIFY_BUSONOFF 0x0020 280 # define canNOTIFY_REMOVED 0x0040 300 #define canSTAT_ERROR_PASSIVE 0x00000001 301 #define canSTAT_BUS_OFF 0x00000002 302 #define canSTAT_ERROR_WARNING 0x00000004 303 #define canSTAT_ERROR_ACTIVE 0x00000008 304 #define canSTAT_TX_PENDING 0x00000010 305 #define canSTAT_RX_PENDING 0x00000020 306 #define canSTAT_RESERVED_1 0x00000040 307 #define canSTAT_TXERR 0x00000080 308 #define canSTAT_RXERR 0x00000100 309 #define canSTAT_HW_OVERRUN 0x00000200 310 #define canSTAT_SW_OVERRUN 0x00000400 311 #define canSTAT_OVERRUN (canSTAT_HW_OVERRUN | canSTAT_SW_OVERRUN) 331 #define canMSG_MASK 0x00ff 332 #define canMSG_RTR 0x0001 333 #define canMSG_STD 0x0002 334 #define canMSG_EXT 0x0004 335 #define canMSG_WAKEUP 0x0008 355 #define canMSG_NERR 0x0010 356 #define canMSG_ERROR_FRAME 0x0020 357 #define canMSG_TXACK 0x0040 358 #define canMSG_TXRQ 0x0080 359 #define canMSG_DELAY_MSG 0x0100 362 #define canMSG_SINGLE_SHOT 0x1000000 363 #define canMSG_TXNACK 0x2000000 364 #define canMSG_ABL 0x4000000 376 #define canFDMSG_MASK 0xff0000 377 #define canFDMSG_EDL 0x010000 378 #define canFDMSG_FDF 0x010000 379 #define canFDMSG_BRS 0x020000 380 #define canFDMSG_ESI 0x040000 395 #define canMSGERR_MASK 0xff00 397 #define canMSGERR_HW_OVERRUN 0x0200 398 #define canMSGERR_SW_OVERRUN 0x0400 399 #define canMSGERR_STUFF 0x0800 400 #define canMSGERR_FORM 0x1000 401 #define canMSGERR_CRC 0x2000 402 #define canMSGERR_BIT0 0x4000 403 #define canMSGERR_BIT1 0x8000 406 #define canMSGERR_OVERRUN 0x0600 407 #define canMSGERR_BIT 0xC000 408 #define canMSGERR_BUSERR 0xF800 425 #define canTRANSCEIVER_LINEMODE_NA 0 426 #define canTRANSCEIVER_LINEMODE_SWC_SLEEP 4 427 #define canTRANSCEIVER_LINEMODE_SWC_NORMAL 5 428 #define canTRANSCEIVER_LINEMODE_SWC_FAST 6 429 #define canTRANSCEIVER_LINEMODE_SWC_WAKEUP 7 430 #define canTRANSCEIVER_LINEMODE_SLEEP 8 431 #define canTRANSCEIVER_LINEMODE_NORMAL 9 432 #define canTRANSCEIVER_LINEMODE_STDBY 10 433 #define canTRANSCEIVER_LINEMODE_TT_CAN_H 11 434 #define canTRANSCEIVER_LINEMODE_TT_CAN_L 12 435 #define canTRANSCEIVER_LINEMODE_OEM1 13 436 #define canTRANSCEIVER_LINEMODE_OEM2 14 437 #define canTRANSCEIVER_LINEMODE_OEM3 15 438 #define canTRANSCEIVER_LINEMODE_OEM4 16 446 #define canTRANSCEIVER_RESNET_NA 0 447 #define canTRANSCEIVER_RESNET_MASTER 1 448 #define canTRANSCEIVER_RESNET_MASTER_STBY 2 449 #define canTRANSCEIVER_RESNET_SLAVE 3 465 #define canTRANSCEIVER_TYPE_UNKNOWN 0 466 #define canTRANSCEIVER_TYPE_251 1 467 #define canTRANSCEIVER_TYPE_252 2 468 #define canTRANSCEIVER_TYPE_DNOPTO 3 469 #define canTRANSCEIVER_TYPE_W210 4 470 #define canTRANSCEIVER_TYPE_SWC_PROTO 5 471 #define canTRANSCEIVER_TYPE_SWC 6 472 #define canTRANSCEIVER_TYPE_EVA 7 473 #define canTRANSCEIVER_TYPE_FIBER 8 474 #define canTRANSCEIVER_TYPE_K251 9 475 #define canTRANSCEIVER_TYPE_K 10 476 #define canTRANSCEIVER_TYPE_1054_OPTO 11 477 #define canTRANSCEIVER_TYPE_SWC_OPTO 12 478 #define canTRANSCEIVER_TYPE_TT 13 479 #define canTRANSCEIVER_TYPE_1050 14 480 #define canTRANSCEIVER_TYPE_1050_OPTO 15 481 #define canTRANSCEIVER_TYPE_1041 16 482 #define canTRANSCEIVER_TYPE_1041_OPTO 17 483 #define canTRANSCEIVER_TYPE_RS485 18 484 #define canTRANSCEIVER_TYPE_LIN 19 485 #define canTRANSCEIVER_TYPE_KONE 20 486 #define canTRANSCEIVER_TYPE_CANFD 22 487 #define canTRANSCEIVER_TYPE_CANFD_LIN 24 488 #define canTRANSCEIVER_TYPE_LINX_LIN 64 489 #define canTRANSCEIVER_TYPE_LINX_J1708 66 490 #define canTRANSCEIVER_TYPE_LINX_K 68 491 #define canTRANSCEIVER_TYPE_LINX_SWC 70 492 #define canTRANSCEIVER_TYPE_LINX_LS 72 Can't find req'd config s/w (e.g. CS/SS)
Definition: canstat.h:161
Definition: canstat.h:211
Reserved.
Definition: canstat.h:148
Operation not supported by hardware or firmware.
Definition: canstat.h:146
Reserved.
Definition: canstat.h:235
Definition: canstat.h:119
Definition: canstat.h:114
Definition: canstat.h:226
Reserved.
Definition: canstat.h:149
Definition: canstat.h:145
Definition: canstat.h:155
Reserved.
Definition: canstat.h:163
Definition: canstat.h:198
Definition: canstat.h:193
Definition: canstat.h:188
Definition: canstat.h:108
Definition: canstat.h:183
The card was removed or not inserted.
Definition: canstat.h:162
Reserved.
Definition: canstat.h:147
Reserved.
Definition: canstat.h:120
Definition: canstat.h:169
Definition: canstat.h:139
Definition: canstat.h:231
canStatus
Definition: canstat.h:46
Definition: canstat.h:203
Definition: canstat.h:215
The license is not valid.
Definition: canstat.h:170
Definition: canstat.h:133
Interrupted by signals.
Definition: canstat.h:83
Definition: canstat.h:160
Error in the ini-file (16-bit only)
Definition: canstat.h:109
Definition: canstat.h:207
Definition: canstat.h:102
Definition: canstat.h:127
Definition: canstat.h:176