nico@207: nico@207:
nico@207:#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include "cancfg.h"
#include "can_driver.h"
nico@207: Go to the source code of this file.
Defines | |
#define | extra_PCAN_init_params |
#define | CAN_INIT_TYPE_ST_RTR MSGTYPE_STANDARD | MSGTYPE_RTR |
Functions | |
int | TranslateBaudeRate (char *optarg) |
void | canInit (s_BOARD *board) |
UNS8 | canReceive_driver (CAN_HANDLE fd0, Message *m) |
UNS8 | canSend_driver (CAN_HANDLE fd0, Message *m) |
CAN_HANDLE | canOpen_driver (s_BOARD *board) |
int | canClose_driver (CAN_HANDLE fd0) |
#define CAN_INIT_TYPE_ST_RTR MSGTYPE_STANDARD | MSGTYPE_RTR | nico@207:
nico@207: nico@207:
nico@207: Definition at line 52 of file can_peak_win32.c. nico@207:
#define extra_PCAN_init_params | nico@207:
nico@207: nico@207:
nico@207: Definition at line 36 of file can_peak_win32.c. nico@207:
nico@207:
int canClose_driver | nico@207:( | nico@207:CAN_HANDLE | nico@207:fd0 | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 237 of file can_peak_win32.c. nico@207:
void canInit | nico@207:( | nico@207:s_BOARD * | nico@207:board | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 70 of file can_peak_win32.c. nico@207:
nico@207: References struct_s_BOARD::baudrate, extra_PCAN_init_params, and TranslateBaudeRate(). nico@207:
CAN_HANDLE canOpen_driver | nico@207:( | nico@207:s_BOARD * | nico@207:board | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 205 of file can_peak_win32.c. nico@207:
nico@207: References canInit(). nico@207:
UNS8 canReceive_driver | nico@207:( | nico@207:CAN_HANDLE | nico@207:fd0, | nico@207:|
nico@207: | nico@207: | Message * | nico@207:m | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 89 of file can_peak_win32.c. nico@207:
nico@207: References canInit(), Message::cob_id, Message::data, Message::len, Message::rtr, UNS8, and SHORT_CAN::w. nico@207:
UNS8 canSend_driver | nico@207:( | nico@207:CAN_HANDLE | nico@207:fd0, | nico@207:|
nico@207: | nico@207: | Message * | nico@207:m | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 159 of file can_peak_win32.c. nico@207:
nico@207: References CAN_INIT_TYPE_ST_RTR, canInit(), Message::cob_id, Message::data, Message::len, Message::rtr, UNS8, and SHORT_CAN::w. nico@207:
int TranslateBaudeRate | nico@207:( | nico@207:char * | nico@207:optarg | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 55 of file can_peak_win32.c. nico@207:
nico@207: