equal
deleted
inserted
replaced
42 * @return handle The library handle |
42 * @return handle The library handle |
43 */ |
43 */ |
44 LIB_HANDLE LoadCanDriver(const char* driver_name); |
44 LIB_HANDLE LoadCanDriver(const char* driver_name); |
45 |
45 |
46 /** |
46 /** |
47 * @ingroup can |
|
48 * @brief Send a CAN message |
47 * @brief Send a CAN message |
49 * @param port CanFestival file descriptor |
48 * @param port CanFestival file descriptor |
50 * @param *m The message to send |
49 * @param *m The message to send |
51 * @return 0 if succes |
50 * @return 0 if succes |
52 */ |
51 */ |
61 */ |
60 */ |
62 CAN_PORT canOpen(s_BOARD *board, CO_Data * d); |
61 CAN_PORT canOpen(s_BOARD *board, CO_Data * d); |
63 |
62 |
64 /** |
63 /** |
65 * @ingroup can |
64 * @ingroup can |
66 * @brief Stop the timer task |
65 * @brief Close a CANopen device |
67 * @param *d Pointer on the CAN object data structure |
66 * @param *d Pointer on the CAN object data structure |
68 * @return 0 if succes |
67 * @return 0 if succes |
69 */ |
68 */ |
70 int canClose(CO_Data * d); |
69 int canClose(CO_Data * d); |
71 |
70 |
72 /** |
71 /** |
73 * @ingroup can |
72 * @ingroup can |
74 * @brief Stop the timer task |
73 * @brief Change the CANopen device baudrate |
75 * @param port CanFestival file descriptor |
74 * @param port CanFestival file descriptor |
76 * @param *baud The new baudrate to assign |
75 * @param *baud The new baudrate to assign |
77 * @return 0 if succes |
76 * @return 0 if succes |
78 */ |
77 */ |
79 UNS8 canChangeBaudRate(CAN_PORT port, char* baud); |
78 UNS8 canChangeBaudRate(CAN_PORT port, char* baud); |