MiniCAN MiniCAN: CAN_INTERFACE_PARAMETERS Struct Reference Documentation

CAN_INTERFACE_PARAMETERS Struct Reference

interface parameters More...

#include <minican.h>


Data Fields

ULONG ulBitRate
 bit rate in bits/s; == 0: interface is not used
ULONG ulCanId
 IDs accepted by the acceptance filter.
ULONG ulCanMask
 mask used for the acceptance filter
ULONG ulFormat
 == 11: handle 11 bit identifier; == 29: handle 29 bit identifier; == 31: use mixed mode
ULONG ulRbus
 == 0: termination resistor off; != 0: termination resistor on


Detailed Description

interface parameters

For each of the two interfaces such a structure is provided in parameter space. It can be read and written using max_read/write_par_block (offset CAN_PARAM_INTERFACE0 or CAN_PARAM_INTERFACE1). Settings must be made before calling procedure 2 (Start) to take effect.

See also:
parameter_t

Definition at line 69 of file minican.h.


Field Documentation

ULONG CAN_INTERFACE_PARAMETERS::ulBitRate

bit rate in bits/s; == 0: interface is not used

Definition at line 71 of file minican.h.

Referenced by AutoInit(), GetBitTiming(), and Start().

ULONG CAN_INTERFACE_PARAMETERS::ulCanId

IDs accepted by the acceptance filter.

Definition at line 72 of file minican.h.

Referenced by AutoInit(), and Start().

ULONG CAN_INTERFACE_PARAMETERS::ulCanMask

mask used for the acceptance filter

Definition at line 73 of file minican.h.

Referenced by AutoInit(), and Start().

ULONG CAN_INTERFACE_PARAMETERS::ulFormat

== 11: handle 11 bit identifier; == 29: handle 29 bit identifier; == 31: use mixed mode

Definition at line 74 of file minican.h.

Referenced by AutoInit(), GetBitTiming(), and Start().

ULONG CAN_INTERFACE_PARAMETERS::ulRbus

== 0: termination resistor off; != 0: termination resistor on

Definition at line 75 of file minican.h.

Referenced by AutoInit(), and GetBitTiming().


The documentation for this struct was generated from the following file:
24 Sep 2008SORCUS Computer GmbH