MiniCAN MiniCAN: parameter_t Struct Reference Documentation

parameter_t Struct Reference

task parameter range structure More...

Collaboration diagram for parameter_t:

Collaboration graph
[legend]

Data Fields

MAX_TDT_TYPE rcTDT
 always before the first parameter!
MAX_ERROR Error
 Error code.
ULONG ulTimeStampHi
 64 bit timestamp high word
ULONG ulTimeStampLo
 64 bit timestamp low word
CAN_INTERFACE_PARAMETERS arcCanParameters [2]
 interface parameters (see CAN_INTERFACE_PARAMETERS)
USHORT usSlot
 slot of the X-CAN-2 module (layer = 0)
XCAN_BIT_PARAMS arcBitTiming [2]
 detailed bit timing (read only)
CAN_INTERFACE_STATE arcIfcState [2]
 interface state (see CAN_INTERFACE_STATE)
ULONG ulCbFilterCount [2]
 count acceptance filter callbacks
ULONG ulCbCtrlCount [2]
 count control callbacks
ULONG ulTmtPending [2]
 count pending messages (sending increments, ACK callbacks decrement)
MAXMDDHND hMdd
 handle for X-CAN-2 MDD
MAXCHLHND hCtrl [2]
 handle for Ctrl channels (setting bit rate etc.)
MAXCHLHND hIn11 [2]
 handle for 11 bit acceptance filter channels
MAXCHLHND hIn29 [2]
 handle for 29 bit acceptance filter channels
MAXCHLHND hOut [2]
 handle for universal sender channels
MAXBUFHND hBuf [2]
 handle for RCV buffer
MAXMODHND hMyself
 Handle for the CPU module.
MAX_OS_INFO rcOsX
 Version info about OsX.

Detailed Description

task parameter range structure

Task parameters can be read and written from outside of the RT task (see max_read/write_par_) to set parameters or to get status information

Definition at line 47 of file minican.c.


Field Documentation

XCAN_BIT_PARAMS parameter_t::arcBitTiming[2]

detailed bit timing (read only)

Definition at line 61 of file minican.c.

Referenced by GetBitTiming().

CAN_INTERFACE_PARAMETERS parameter_t::arcCanParameters[2]

interface parameters (see CAN_INTERFACE_PARAMETERS)

Definition at line 57 of file minican.c.

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

CAN_INTERFACE_STATE parameter_t::arcIfcState[2]

interface state (see CAN_INTERFACE_STATE)

Definition at line 63 of file minican.c.

Referenced by CbControl().

MAX_ERROR parameter_t::Error

Error code.

Definition at line 51 of file minican.c.

Referenced by AutoInit(), CbFilter(), Read0(), Read1(), Start(), Stop(), Write0(), and Write1().

MAXBUFHND parameter_t::hBuf[2]

handle for RCV buffer

Definition at line 75 of file minican.c.

Referenced by AutoInit(), CbFilter(), Read0(), Read1(), and Stop().

MAXCHLHND parameter_t::hCtrl[2]

handle for Ctrl channels (setting bit rate etc.)

Definition at line 71 of file minican.c.

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

MAXCHLHND parameter_t::hIn11[2]

handle for 11 bit acceptance filter channels

Definition at line 72 of file minican.c.

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

MAXCHLHND parameter_t::hIn29[2]

handle for 29 bit acceptance filter channels

Definition at line 73 of file minican.c.

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

MAXMDDHND parameter_t::hMdd

handle for X-CAN-2 MDD

Definition at line 70 of file minican.c.

Referenced by AutoInit(), and Start().

MAXMODHND parameter_t::hMyself

Handle for the CPU module.

Definition at line 76 of file minican.c.

Referenced by AutoInit(), and Start().

MAXCHLHND parameter_t::hOut[2]

handle for universal sender channels

Definition at line 74 of file minican.c.

Referenced by AutoInit(), Start(), Stop(), Write0(), and Write1().

MAX_OS_INFO parameter_t::rcOsX

Version info about OsX.

Definition at line 77 of file minican.c.

Referenced by AutoInit().

MAX_TDT_TYPE parameter_t::rcTDT

always before the first parameter!

Definition at line 49 of file minican.c.

ULONG parameter_t::ulCbCtrlCount[2]

count control callbacks

Definition at line 67 of file minican.c.

Referenced by AutoInit(), and CbControl().

ULONG parameter_t::ulCbFilterCount[2]

count acceptance filter callbacks

Definition at line 65 of file minican.c.

Referenced by AutoInit(), and CbFilter().

ULONG parameter_t::ulTimeStampHi

64 bit timestamp high word

Definition at line 53 of file minican.c.

Referenced by AutoInit(), CbControl(), CbFilter(), and MainProc().

ULONG parameter_t::ulTimeStampLo

64 bit timestamp low word

Definition at line 55 of file minican.c.

Referenced by AutoInit(), CbControl(), CbFilter(), and MainProc().

ULONG parameter_t::ulTmtPending[2]

count pending messages (sending increments, ACK callbacks decrement)

Definition at line 69 of file minican.c.

Referenced by AutoInit(), CbAcknowledge(), Write0(), and Write1().

USHORT parameter_t::usSlot

slot of the X-CAN-2 module (layer = 0)

Definition at line 59 of file minican.c.

Referenced by AutoInit(), and Start().


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