nico@215: nico@215:
nico@215:#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include "cancfg.h"
#include "can_driver.h"
nico@215: Include dependency graph for can_peak_win32.c:
nico@215: 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@215:
nico@215: nico@215:
nico@215: Definition at line 52 of file can_peak_win32.c. nico@215:
#define extra_PCAN_init_params | nico@215:
nico@215: nico@215:
nico@215: Definition at line 36 of file can_peak_win32.c. nico@215:
nico@215: Referenced by canInit(). nico@215:
nico@215:
int canClose_driver | nico@215:( | etisserant@240:CAN_HANDLE | nico@215:fd0 | nico@215:) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 237 of file can_peak_win32.c. nico@215:
void canInit | nico@215:( | nico@215:s_BOARD * | nico@215:board | nico@215:) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 70 of file can_peak_win32.c. nico@215:
nico@215: References struct_s_BOARD::baudrate, extra_PCAN_init_params, and TranslateBaudeRate(). nico@215:
nico@215: Referenced by canOpen_driver(), canReceive_driver(), canSend_driver(), and initSensor(). nico@215:
etisserant@240: Here is the call graph for this function:
etisserant@240: etisserant@240:
CAN_HANDLE canOpen_driver | nico@215:( | nico@215:s_BOARD * | nico@215:board | nico@215:) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 205 of file can_peak_win32.c. nico@215:
nico@215: References canInit(). nico@215:
etisserant@240: Here is the call graph for this function:
UNS8 canReceive_driver | nico@215:( | etisserant@240:CAN_HANDLE | nico@215:fd0, | nico@215:|
nico@215: | nico@215: | Message * | nico@215:m | nico@215: |
nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 89 of file can_peak_win32.c. nico@215:
nico@215: References canInit(), Message::cob_id, Message::data, Message::len, Message::rtr, UNS8, and SHORT_CAN::w. nico@215:
etisserant@240: Here is the call graph for this function:
UNS8 canSend_driver | nico@215:( | etisserant@240:CAN_HANDLE | nico@215:fd0, | nico@215:|
nico@215: | nico@215: | Message * | nico@215:m | nico@215: |
nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 159 of file can_peak_win32.c. nico@215:
nico@215: References CAN_INIT_TYPE_ST_RTR, canInit(), Message::cob_id, Message::data, Message::len, Message::rtr, UNS8, and SHORT_CAN::w. nico@215:
etisserant@240: Here is the call graph for this function:
int TranslateBaudeRate | nico@215:( | nico@215:char * | nico@215:optarg | nico@215:) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 55 of file can_peak_win32.c. nico@215:
etisserant@240: