Rev 240 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 240 | Rev 244 | ||
|---|---|---|---|
| Line 21... | Line 21... | ||
| 21 | 21 | ||
| 22 | /*----------------------------------------------------------------------------- |
22 | /*----------------------------------------------------------------------------- |
| 23 | * Type Definitions |
23 | * Type Definitions |
| 24 | *---------------------------------------------------------------------------*/ |
24 | *---------------------------------------------------------------------------*/ |
| 25 | 25 | ||
| - | 26 | #if 0 |
|
| 26 | /** |
27 | /** |
| 27 | * CAN Bitrate Type. The supported bitrates. |
28 | * CAN Bitrate Type. The supported bitrates. |
| 28 | */ |
29 | */ |
| 29 | typedef enum { |
30 | typedef enum { |
| 30 | CAN_BITRATE_125K = 0, /* Max cable length: 500m */ |
31 | CAN_BITRATE_125K = 0, /* Max cable length: 500m */ |
| 31 | CAN_BITRATE_250K = 1, /* Max cable length: 250m */ |
32 | CAN_BITRATE_250K = 1, /* Max cable length: 250m */ |
| 32 | CAN_BITRATE_500K = 2, /* Max cable length: 100m */ |
33 | CAN_BITRATE_500K = 2, /* Max cable length: 100m */ |
| 33 | CAN_BITRATE_1M = 3 /* Max cable length: 40m */ |
34 | CAN_BITRATE_1M = 3 /* Max cable length: 40m */ |
| 34 | } Can_Bitrate_t; |
35 | } Can_Bitrate_t; |
| - | 36 | #endif |
|
| 35 | 37 | ||
| 36 | 38 | ||
| 37 | /** |
39 | /** |
| 38 | * CAN Return Type. Most CAN functions return one of these. |
40 | * CAN Return Type. Most CAN functions return one of these. |
| 39 | */ |
41 | */ |