nico@215: nico@215:
nico@215:#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include "libpcan.h"
#include "can_driver.h"
nico@215: Include dependency graph for can_peak_linux.c:
nico@215: Go to the source code of this file.
Defines | |
#define | CAN_INIT_TYPE_ST_RTR MSGTYPE_STANDARD | MSGTYPE_RTR |
Functions | |
UNS8 | canReceive_driver (CAN_HANDLE fd0, Message *m) |
UNS8 | canSend_driver (CAN_HANDLE fd0, Message *m) |
int | TranslateBaudeRate (char *optarg) |
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 37 of file can_peak_linux.c. nico@215:
nico@215: Referenced by canSend_driver(). 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 129 of file can_peak_linux.c. nico@215:
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 104 of file can_peak_linux.c. nico@215:
nico@215: References struct_s_BOARD::baudrate, struct_s_BOARD::busname, and TranslateBaudeRate(). 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 40 of file can_peak_linux.c. nico@215:
nico@215: References Message::cob_id, Message::data, Message::len, Message::rtr, UNS8, and SHORT_CAN::w. nico@215:
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 64 of file can_peak_linux.c. nico@215:
nico@215: References CAN_INIT_TYPE_ST_RTR, Message::data, Message::len, Message::rtr, and UNS8. nico@215:
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 89 of file can_peak_linux.c. nico@215:
nico@215: Referenced by canInit(), and canOpen_driver(). nico@215:
etisserant@240: