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

Can_frameFakes
[CanDefinesCan_returnValues]


Defines

#define CAN_MAXCHANNELS   1024
 Maximum number of channels that can be opened simultaneously.
#define CAN_MAXBUFFER   256
 GLOBAL maximum size of a char buffer.

Enumerations

enum  {
  FAKED_SOF = 0x0001, FAKED_ID = 0x0002, FAKED_SRR = 0x0004, FAKED_IDE = 0x0008,
  FAKED_EXT = 0x0010, FAKED_RTR = 0x0020, FAKED_RES = 0x0040, FAKED_DLC = 0x0080,
  FAKED_DATA = 0x0100, FAKED_CRC = 0x0200, FAKED_ACK = 0x0400, FAKED_EOF = 0x0800,
  C_TXERROR = 0, C_RXERROR, C_BAUDRATE, C_MASK,
  C_CODE, C_RXQUEUE, C_TXQUEUE, C_HIDEERRORS,
  C_HIDECHIP, C_BLOCKTIMEOUT, C_BOARDSTATE, C__MAX
}

Define Documentation

#define CAN_MAXBUFFER   256
 

GLOBAL maximum size of a char buffer.

Definition at line 411 of file canapi.h.

Referenced by can_probebus().

#define CAN_MAXCHANNELS   1024
 

Maximum number of channels that can be opened simultaneously.

Definition at line 410 of file canapi.h.


Enumeration Type Documentation

anonymous enum
 

Enumerator:
FAKED_SOF  start of frame bit
FAKED_ID  11 bit id
FAKED_SRR  SRR bit.
FAKED_IDE  IDE bit.
FAKED_EXT  18 bit ide
FAKED_RTR  rtr bit
FAKED_RES  two reserved
FAKED_DLC  DLC.
FAKED_DATA  8 byte data
FAKED_CRC  CRC sequence.
FAKED_ACK  ACK sequence.
FAKED_EOF  EOF sequence.
C_TXERROR  Get or set the transmit error level.

Option value type: u_int32
Possible values:
Supported by: Vector CANBoard XL

C_RXERROR  Get or set the receive error level.

Option value type: u_int32
Possible values:
Supported by: Vector CANBoard XL

C_BAUDRATE  Get or set the baudrate of a channel.

Option value type: u_int32
Possible values:
Supported by: Vector CANBoard XL

C_MASK  Get or set the channel mask.

Option value type: u_int32
Possible values:
Supported by: Vector CANBoard XL

C_CODE  Get or set the channel code.

Option value type: u_int32
Possible values:
Supported by: Vector CANBoard XL

C_RXQUEUE  Get or set the receive Queue.

Option value type: u_int32
Possible values:
Supported by: Vector CANBoard XL

C_TXQUEUE  Get or set the transmission Queue.

Option value type: u_int32
Possible values:
Supported by: Vector CANBoard XL

C_HIDEERRORS  Suppress errors.

Option value type: u_int32
Possible values:
Supported by: Vector CANBoard XL

C_HIDECHIP  Suppress chip status.

Option value type: u_int32
Possible values:
Supported by: Vector CANBoard XL

C_BLOCKTIMEOUT  Get or set the polling timeout.

Option value type: u_int32
Possible values:
Supported by: Vector CANBoard XL

C_BOARDSTATE  Get or set the state of the board.

Option value type: u_int32
Possible values:
Supported by: Vector CANBoard XL

C__MAX 

Definition at line 237 of file canapi.h.


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