Rev 690 | Rev 789 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 690 | Rev 693 | ||
|---|---|---|---|
| Line 14... | Line 14... | ||
| 14 | * @date 2007-10-24 |
14 | * @date 2007-10-24 |
| 15 | */ |
15 | */ |
| 16 | 16 | ||
| 17 | /**@{*/ |
17 | /**@{*/ |
| 18 | 18 | ||
| 19 |
|
19 | //#error StdCan: For discussion only! Do not use in application code. |
| - | 20 | #warning StdCan: Not thourhly tested yet. |
|
| 20 | 21 | ||
| 21 | #ifndef STDCAN_H_ |
22 | #ifndef STDCAN_H_ |
| 22 | #define STDCAN_H_ |
23 | #define STDCAN_H_ |
| 23 | 24 | ||
| 24 | #include <config.h> |
25 | #include <config.h> |
| - | 26 | ||
| - | 27 | #include <inttypes.h> |
|
| 25 | 28 | ||
| 26 | #ifndef STDCAN_FILTER |
29 | #ifndef STDCAN_FILTER |
| 27 | #define STDCAN_FILTER 1 |
30 | #define STDCAN_FILTER 1 |
| 28 | #endif |
31 | #endif |
| 29 | #ifndef STDCAN_RX_QUEUE_SIZE |
32 | #ifndef STDCAN_RX_QUEUE_SIZE |
| Line 103... | Line 106... | ||
| 103 | * Returns the number of messages pending in the receive queue. |
106 | * Returns the number of messages pending in the receive queue. |
| 104 | * |
107 | * |
| 105 | * @retval |
108 | * @retval |
| 106 | * Number of messages in the receive queue. |
109 | * Number of messages in the receive queue. |
| 107 | */ |
110 | */ |
| 108 | unsigned char StdCan_Get_Pending(); |
111 | unsigned char StdCan_Get_Pending(void); |
| 109 | 112 | ||
| 110 | /** |
113 | /** |
| 111 | * @brief Send a message. |
114 | * @brief Send a message. |
| 112 | * |
115 | * |
| 113 | * Puts a message on the transmit queue. |
116 | * Puts a message on the transmit queue. |