Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

def.h File Reference

File for various definitions. More...

#include <string.h>

Go to the source code of this file.

Defines

#define BYTE   unsigned char
#define WORD   unsigned short
#define DWORD   unsigned long
#define BIT   bit
#define XHUGE
#define NO_SUCH_INDEX   0x11
#define SUCCESSFUL   0x12
#define SUBINDEX_NOT_EXIST   0x13
#define CONNECTION_OK   0x33
#define CONNECTION_FAILED   0x31
#define GUARDING_MESSAGE_LOST   0x32
#define HEARTBEAT_MESSAGE_LOST   0x34
#define HEARTBEAT_CONSUMER_LOST   0x35
#define NO_ERROR   0x0000
#define GENERIC_ERROR   0x1000
#define CURRENT_ERROR   0x2000
#define VOLTAGE_ERROR   0x3000
#define HARDWARE_ERROR   0x5000

Typedefs

typedef enum _BOOL BOOL

Enumerations

enum  _BOOL { FALSE = 0, TRUE }


Detailed Description

File for various definitions.

In this file you'll find a lot of definitions, such as datatypes and constants (defines)


Define Documentation

#define BIT   bit
 

1 Bit

#define BYTE   unsigned char
 

8 Bit unsigned

#define CONNECTION_FAILED   0x31
 

lifeguard: connection failed

#define CONNECTION_OK   0x33
 

lifeguard: connection is OK

#define CURRENT_ERROR   0x2000
 

internal device error: current error

#define DWORD   unsigned long
 

32 Bit unsigned

#define GENERIC_ERROR   0x1000
 

internal device error: generic error

#define GUARDING_MESSAGE_LOST   0x32
 

lifeguard: guarding message lost

#define HARDWARE_ERROR   0x5000
 

internal device error: hardware error

#define HEARTBEAT_CONSUMER_LOST   0x35
 

lifegurad: heartbeat consumer lost

#define HEARTBEAT_MESSAGE_LOST   0x34
 

lifeguard: heartbeat message lost

#define NO_ERROR   0x0000
 

internal device error: no error

#define NO_SUCH_INDEX   0x11
 

If someone/something tries to access an object dictionary entry which doesn't exist

#define SUBINDEX_NOT_EXIST   0x13
 

If someone/something tries to access an object dictioary subentry (subindex) which doesn't exist

#define SUCCESSFUL   0x12
 

Return value that indicates a successful operation

#define VOLTAGE_ERROR   0x3000
 

internal device error: voltage error

#define WORD   unsigned short
 

16 Bit unsigned

#define XHUGE
 


Typedef Documentation

typedef enum _BOOL BOOL
 


Enumeration Type Documentation

enum _BOOL
 

Enumeration values:
FALSE 
TRUE 


Generated on Wed Dec 25 01:04:57 2002 for CANopen SlaveLib by doxygen1.2.17