Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

vector_canboard.h File Reference

Go to the source code of this file.

Functions

int vector_canboardprobe (struct if_channel *list)
int vector_canboardstartup ()
int vector_canboardopenchannel (int which)
int vector_canboardclosechannel (int which)
int vector_canboardshutdown ()
int vector_canboardread (int which, struct can20bframe *out)
int vector_canboardwrite (int which, struct can20bframe *in)
int vector_canboardupdatestatus (int which)
int vector_canboardchangestatus (int handle, int which, int status)


Function Documentation

int vector_canboardchangestatus int  handle,
int  which,
int  status
 

Definition at line 474 of file vector_canboard.c.

References ACCESSMASK, _if_channel::blocktimeout, C_BAUDRATE, C_BLOCKTIMEOUT, C_CODE, C_HIDECHIP, C_HIDEERRORS, C_MASK, C_RXERROR, C_RXQUEUE, C_TXERROR, C_TXQUEUE, _if_channel::code, _if_channel::filter, _if_channel::flags, I_ERRS, I_STATE, IF_FAILURE, IF_SUCCESS, _if_channel::mask, S_ERR_NOT_IMPLEMENTED, and vector_checkstatus().

int vector_canboardclosechannel int  which  ) 
 

Definition at line 280 of file vector_canboard.c.

References vector_checkstatus().

int vector_canboardopenchannel int  which  ) 
 

Definition at line 212 of file vector_canboard.c.

References ACCESSMASK, _if_channel::buscapabilities, _if_channel::hwHandle, IF_FAILURE, IF_SUCCESS, _if_channel::last, and vector_checkstatus().

int vector_canboardprobe struct if_channel *  list  ) 
 

int vector_canboardread int  which,
struct can20bframe out
 

Definition at line 293 of file vector_canboard.c.

References can20bframe::ack, can20bframe::arbitration, _if_channel::blocktimeout, _if_channel::board, _as_ts::can_ts_nsec, _as_ts::can_ts_sec, can20bframe::control, can20bframe::crc, can20bframe::data, can20bframe::eof, fakecrc(), FAKED_ACK, FAKED_CRC, FAKED_EOF, FAKED_RTR, FAKED_SOF, GRABBIT, _if_channel::lastsync, can20bframe::oob, _if_channel::rxerror, can20bframe::sof, _if_board::status, statuslookup, TIMESCALE, _if_channel::txerror, and vector_checkstatus().

int vector_canboardshutdown  ) 
 

Definition at line 285 of file vector_canboard.c.

References vector_checkstatus().

int vector_canboardstartup  ) 
 

Definition at line 201 of file vector_canboard.c.

References IF_FAILURE, and IF_SUCCESS.

int vector_canboardupdatestatus int  which  ) 
 

Definition at line 446 of file vector_canboard.c.

References ACCESSMASK, _if_channel::baudrate, _if_channel::hwHandle, IF_FAILURE, IF_SUCCESS, and vector_checkstatus().

int vector_canboardwrite int  which,
struct can20bframe in
 

Definition at line 416 of file vector_canboard.c.

References ACCESSMASK, can20bframe::arbitration, can20bframe::control, can20bframe::data, IF_SUCCESS, and vector_checkstatus().


Generated on Wed Feb 22 13:31:27 2006 for CANapi by  doxygen 1.4.4