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

defines.c File Reference

#include "..\interfaces\interfaces.h"
#include "..\includes\defines.h"
#include "..\includes\canapi.h"
#include "..\includes\irig.h"

Go to the source code of this file.

Variables

unsigned char * _errors []
unsigned char * _errframe []
int _bit_width []
int _offsets [B__MAX]
_if_channel channel [CAN_MAXCHANNELS]
_if_board cancard [MAX_CARDS]
int if_channel_count = 0
int if_board_count = 0
_reftsLinkrefts


Variable Documentation

int _bit_width[]
 

Initial value:

{       1,      
        11,     
        1,      
        1,      
        18,     
        1,      
        2,      
        4,      
        64,     
        16,     
        2,      
        7       
}

Definition at line 76 of file defines.c.

Referenced by _get_offsets(), and can_can2raw().

unsigned char* _errframe[]
 

Initial value:

{       "Error Frame",
        "Queue is full",
        "Remote Frame",
        "Wake up",
        "Buffer Overrun",
        "Line Error",
        "Voltage Error",
        "Complete",
        "Queued",
        0
}

Definition at line 63 of file defines.c.

Referenced by can_getlasterror().

unsigned char* _errors[]
 

Initial value:

{       "No Error",     
        "Request is Pending",
        "Queue is Empty",
        "Queue is Full",
        "Transmission not Possible",
        "Twice Register",
        "Invalid Channel Index",
        "Invalid Access",
        "Port is Offline",
        "Channel is Already Online",
        "Invalid Port",
        "Hardware not Ready",
        "Command Timeout",
        "Hardware not Present",
        "Notify Already Active",
        "No Resources Available",
        "Unable to open Driver",
        "Feature Not Implemented",
        "Invalid Handle",       
        "First Argument Void or Invalid",
        "Second Argument Void or Invalid",
        "Third Argument Void or Invalid",
        "Invalid Arguments passed",
        "Out of Bounds",        
        "Unknown Error",        
        0       
}

Definition at line 34 of file defines.c.

Referenced by can_getlasterror(), and seterror().

int _offsets[B__MAX]
 

Definition at line 91 of file defines.c.

Referenced by _get_offsets(), and can_can2raw().

struct _if_board cancard[MAX_CARDS]
 

Definition at line 94 of file defines.c.

struct _if_channel channel[CAN_MAXCHANNELS]
 

Definition at line 93 of file defines.c.

int if_board_count = 0
 

Definition at line 96 of file defines.c.

int if_channel_count = 0
 

Definition at line 95 of file defines.c.

struct _reftsLink* refts
 

Definition at line 98 of file defines.c.


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