TIP810-SW-42 - VxWorks Device Driver
Page 36 of 36
5 Appendix
5.1 Predefined Symbols
The following symbols are defined in the included file
tip810.h.
Transfer Rates (FIO_T810_SET_BUSTIMING – timing_value)
T810_1MBIT
0x0014
1 Mbit/s
Max. cable length: 40 m
T810_500KBIT
0x001c
500 Kbit/s
Max. cable length: 130 m
T810_250KBIT
0x011c
250 Kbit/s
Max. cable length: 270 m
T810_125KBIT
0x031c
125 Kbit/s
Max. cable length: 530 m
T810_100KBIT
0x432f
100 Kbit/s
Max. cable length: 620 m
T810_50KBIT
0x472f
50 Kbit/s
Max. cable length: 1.3 km
T810_20KBIT
0x532f
20 Kbit/s
Max. cable length: 3.3 km
T810_10KBIT
0x672f
10 Kbit/s
Max. cable length: 6.7 km
T810_5KBIT
0x7f7f
5 Kbit/s
Max. cable length: 10 km
5.2 Status and Error Codes
S_t810Drv_ILLID
0x08100001
Invalid message identifier
S_t810Dev_ILLLEN
0x08100002
Invalid message length
S_t810Dev_BUSOFF
0x08100003
The CAN bus controller has entered the BUS
OFF state
S_t810Dev_ERROR
0x08100004
At least one of the Error Counters has
reached the warning limit
S_t810Dev_OVERRUN
0x08100005
Lost incoming message
S_t810Dev_NO_DEVICE
0x08100006
No TIP810 CAN bus IP found at the specified
base address
S_t810Dev_TIMEOUT
0x08100007
The I/O request times out
S_t810Dev_EMPTY
0x08100008
No message in the read buffer (only if
NO_WAIT options is selected)
S_t810Dev_ABORT
0x08100009
The I/O request was aborted because the
CAN controller has entered the BUS OFF
state or at least one of the Error Counters
has reached the warning limit
S_t810Dev_ILLREQUEST
0x0810000A
Unknown
ioctl()
request
S_t810Dev_SIZE
0x0810000B
A message buffer had a wrong size.
S_t810Dev_NOBUSOFF
0x0810000C
The concerning request expected the CAN
Controller in BUSOFF state.