275 #define CANSTATUS_SUCCESS(X) ((X) == canOK) 276 #define CANSTATUS_FAILURE(X) ((X) != canOK) 285 #define canEVENT_RX 32000 286 #define canEVENT_TX 32001 287 #define canEVENT_ERROR 32002 288 #define canEVENT_STATUS 32003 295 #define canEVENT_ENVVAR 32004 296 #define canEVENT_BUSONOFF 32005 297 #define canEVENT_REMOVED 32006 311 #define canNOTIFY_NONE 0 312 #define canNOTIFY_RX 0x0001 313 #define canNOTIFY_TX 0x0002 314 #define canNOTIFY_ERROR 0x0004 315 #define canNOTIFY_STATUS 0x0008 316 #define canNOTIFY_ENVVAR 0x0010 318 #define canNOTIFY_BUSONOFF 0x0020 319 #define canNOTIFY_REMOVED 0x0040 339 #define canSTAT_ERROR_PASSIVE 0x00000001 340 #define canSTAT_BUS_OFF 0x00000002 341 #define canSTAT_ERROR_WARNING 0x00000004 342 #define canSTAT_ERROR_ACTIVE 0x00000008 343 #define canSTAT_TX_PENDING 0x00000010 344 #define canSTAT_RX_PENDING 0x00000020 345 #define canSTAT_RESERVED_1 0x00000040 346 #define canSTAT_TXERR 0x00000080 347 #define canSTAT_RXERR 0x00000100 348 #define canSTAT_HW_OVERRUN 0x00000200 349 #define canSTAT_SW_OVERRUN 0x00000400 350 #define canSTAT_OVERRUN (canSTAT_HW_OVERRUN | canSTAT_SW_OVERRUN) 370 #define canMSG_MASK 0x00ff 371 #define canMSG_RTR 0x0001 378 #define canMSG_STD 0x0002 379 #define canMSG_EXT 0x0004 380 #define canMSG_WAKEUP 0x0008 400 #define canMSG_NERR 0x0010 401 #define canMSG_ERROR_FRAME 0x0020 402 #define canMSG_TXACK 0x0040 403 #define canMSG_TXRQ 0x0080 404 #define canMSG_DELAY_MSG 0x0100 406 #define canMSG_LOCAL_TXACK 0x10000000 409 #define canMSG_SINGLE_SHOT 0x1000000 410 #define canMSG_TXNACK 0x2000000 411 #define canMSG_ABL 0x4000000 423 #define canFDMSG_MASK 0xff0000 424 #define canFDMSG_EDL 0x010000 425 #define canFDMSG_FDF 0x010000 426 #define canFDMSG_BRS 0x020000 427 #define canFDMSG_ESI 0x040000 442 #define canMSGERR_MASK 0xff00 444 #define canMSGERR_HW_OVERRUN 0x0200 445 #define canMSGERR_SW_OVERRUN 0x0400 446 #define canMSGERR_STUFF 0x0800 447 #define canMSGERR_FORM 0x1000 448 #define canMSGERR_CRC 0x2000 449 #define canMSGERR_BIT0 0x4000 450 #define canMSGERR_BIT1 0x8000 453 #define canMSGERR_OVERRUN 0x0600 454 #define canMSGERR_BIT 0xC000 455 #define canMSGERR_BUSERR 0xF800 459 #define canMSG_RESERVED_FOR_EXTENDING 0x80000000 472 #define canTRANSCEIVER_LINEMODE_NA 0 473 #define canTRANSCEIVER_LINEMODE_SWC_SLEEP 4 474 #define canTRANSCEIVER_LINEMODE_SWC_NORMAL 5 475 #define canTRANSCEIVER_LINEMODE_SWC_FAST 6 476 #define canTRANSCEIVER_LINEMODE_SWC_WAKEUP 7 477 #define canTRANSCEIVER_LINEMODE_SLEEP 8 478 #define canTRANSCEIVER_LINEMODE_NORMAL 9 479 #define canTRANSCEIVER_LINEMODE_STDBY 10 480 #define canTRANSCEIVER_LINEMODE_TT_CAN_H 11 481 #define canTRANSCEIVER_LINEMODE_TT_CAN_L 12 482 #define canTRANSCEIVER_LINEMODE_OEM1 13 483 #define canTRANSCEIVER_LINEMODE_OEM2 14 484 #define canTRANSCEIVER_LINEMODE_OEM3 15 485 #define canTRANSCEIVER_LINEMODE_OEM4 16 493 #define canTRANSCEIVER_RESNET_NA 0 494 #define canTRANSCEIVER_RESNET_MASTER 1 495 #define canTRANSCEIVER_RESNET_MASTER_STBY 2 496 #define canTRANSCEIVER_RESNET_SLAVE 3 512 #define canTRANSCEIVER_TYPE_UNKNOWN 0 513 #define canTRANSCEIVER_TYPE_251 1 514 #define canTRANSCEIVER_TYPE_252 2 515 #define canTRANSCEIVER_TYPE_DNOPTO 3 516 #define canTRANSCEIVER_TYPE_W210 4 517 #define canTRANSCEIVER_TYPE_SWC_PROTO 5 518 #define canTRANSCEIVER_TYPE_SWC 6 519 #define canTRANSCEIVER_TYPE_EVA 7 520 #define canTRANSCEIVER_TYPE_FIBER 8 521 #define canTRANSCEIVER_TYPE_K251 9 522 #define canTRANSCEIVER_TYPE_K 10 523 #define canTRANSCEIVER_TYPE_1054_OPTO 11 524 #define canTRANSCEIVER_TYPE_SWC_OPTO 12 525 #define canTRANSCEIVER_TYPE_TT 13 526 #define canTRANSCEIVER_TYPE_1050 14 527 #define canTRANSCEIVER_TYPE_1050_OPTO 15 528 #define canTRANSCEIVER_TYPE_1041 16 529 #define canTRANSCEIVER_TYPE_1041_OPTO 17 530 #define canTRANSCEIVER_TYPE_RS485 18 531 #define canTRANSCEIVER_TYPE_LIN 19 532 #define canTRANSCEIVER_TYPE_KONE 20 533 #define canTRANSCEIVER_TYPE_CANFD 22 534 #define canTRANSCEIVER_TYPE_CANFD_LIN 24 535 #define canTRANSCEIVER_TYPE_CANFD_SIC 26 536 #define canTRANSCEIVER_TYPE_LINX_LIN 64 537 #define canTRANSCEIVER_TYPE_LINX_J1708 66 538 #define canTRANSCEIVER_TYPE_LINX_K 68 539 #define canTRANSCEIVER_TYPE_LINX_SWC 70 540 #define canTRANSCEIVER_TYPE_LINX_LS 72 Definition: canstat.h:170
Definition: canstat.h:258
Definition: canstat.h:202
canStatus
Definition: canstat.h:33
Definition: canstat.h:114
Definition: canstat.h:233
Definition: canstat.h:126
Reserved.
Definition: canstat.h:107
Definition: canstat.h:223
Operation not supported by hardware or firmware.
Definition: canstat.h:133
Definition: canstat.h:142
Definition: canstat.h:147
Definition: canstat.h:163
Definition: canstat.h:194
Reserved.
Definition: canstat.h:267
Definition: canstat.h:198
Reserved.
Definition: canstat.h:135
Definition: canstat.h:228
Definition: canstat.h:106
Definition: canstat.h:132
Definition: canstat.h:213
Reserved.
Definition: canstat.h:150
Definition: canstat.h:218
The license is not valid.
Definition: canstat.h:157
Error in the ini-file (16-bit only)
Definition: canstat.h:96
Definition: canstat.h:251
Definition: canstat.h:180
Definition: canstat.h:175
Definition: canstat.h:245
Reserved.
Definition: canstat.h:136
Definition: canstat.h:190
Definition: canstat.h:185
Definition: canstat.h:156
Interrupted by signals.
Definition: canstat.h:70
Reserved.
Definition: canstat.h:134
Definition: canstat.h:120
Definition: canstat.h:101
The card was removed or not inserted.
Definition: canstat.h:149
Definition: canstat.h:239
Definition: canstat.h:264
Can't find req'd config s/w (e.g. CS/SS)
Definition: canstat.h:148