#include "interfaces.h"#include "..\includes\defines.h"#include "..\includes\canapi.h"#include "..\includes\irig.h"#include <string.h>#include <stdlib.h>#include <stdio.h>#include "vector_canboard\vector_canboard.h"Go to the source code of this file.
Enumerations | |
| enum | { __IFACE, __CHAN } |
Functions | |
| int | boardstartup (int handle, int which) |
| int | boardprobe () |
| int | fakecrc (unsigned char *tocrc, int *fakedcrc) |
| int | boardopenchannel (int which) |
| int | boardread (int which, can_frame *out) |
| int | boardwrite (int which, can_frame *in) |
| int | boardupdatestatus (int which) |
| int | boardchangestatus (int handle, int which, int status) |
| int | boardshutdown (int which) |
Variables | |
| _if_channel | channel [CAN_MAXCHANNELS] |
| int | if_channel_count |
| int | if_board_count |
| _reftsLink * | refts |
| _s_interface | interfaces [] |
|
|
Definition at line 86 of file interfaces.c. |
|
||||||||||||||||
|
Definition at line 187 of file interfaces.c. References _if_channel::board, _if_board::boardtype, _s_interface::changestatusfunction, IF_SUCCESS, S_SUCCESS, and _s_interface::updatestatusfunction. Referenced by can_setchanneloptions(). |
|
|
Definition at line 143 of file interfaces.c. References __CHAN, _s_interface::activecount, _if_channel::board, boardstartup(), _if_board::boardtype, IF_SUCCESS, _if_channel::isopen, _s_interface::openchannelfunction, and _s_interface::updatestatusfunction. Referenced by boardread(), boardwrite(), and can_openchannel(). |
|
|
Definition at line 118 of file interfaces.c. References __IFACE, _s_interface::activecount, boardstartup(), IF_FAILURE, and _s_interface::probefunction. Referenced by can_probebus(). |
|
||||||||||||
|
Definition at line 159 of file interfaces.c. References _if_channel::board, boardopenchannel(), _if_board::boardtype, IF_SUCCESS, _s_interface::readfunction, and S_SUCCESS. Referenced by can_readchannel(). |
|
|
Definition at line 198 of file interfaces.c. References _s_interface::activecount, _if_channel::board, _if_board::boardtype, _if_board::channelcount, _s_interface::closechannelfunction, _if_channel::index, S_SUCCESS, _s_interface::shutdownfunction, and _s_interface::updatestatusfunction. Referenced by can_closechannel(). |
|
||||||||||||
|
Definition at line 91 of file interfaces.c. References __CHAN, __IFACE, _s_interface::activecount, _if_channel::board, _if_board::boardtype, IF_FAILURE, and _s_interface::startupfunction. Referenced by boardopenchannel(), and boardprobe(). |
|
|
Definition at line 181 of file interfaces.c. References _if_channel::board, _if_board::boardtype, and _s_interface::updatestatusfunction. Referenced by can_getchanneloptions(). |
|
||||||||||||
|
Definition at line 170 of file interfaces.c. References _if_channel::board, boardopenchannel(), _if_board::boardtype, IF_SUCCESS, S_SUCCESS, and _s_interface::writefunction. Referenced by can_writechannel(). |
|
||||||||||||
|
Definition at line 134 of file interfaces.c. Referenced by vector_canboardread(). |
|
|
|
|
|
Definition at line 96 of file defines.c. Referenced by can_probebus(), and vector_canboardprobe(). |
|
|
Definition at line 95 of file defines.c. Referenced by can_openchannel(), can_probebus(), isinvalid(), and vector_canboardprobe(). |
|
|
Initial value:
{
{ 0,
vector_canboardprobe,
vector_canboardstartup,
vector_canboardopenchannel,
vector_canboardclosechannel,
vector_canboardshutdown,
vector_canboardread,
vector_canboardwrite,
vector_canboardupdatestatus,
vector_canboardchangestatus
},
{ 0,0,0,0,0,
0,0,0,0,0
}
}
Definition at line 50 of file interfaces.c. |
|
|
|
1.4.4