MiniCAN MiniCAN: CAN_INTERFACE_STATE Struct Reference Documentation

CAN_INTERFACE_STATE Struct Reference

interface state More...

#include <minican.h>


Data Fields

ULONG ulTimeStampHi
 upper 32 bit of timestamp
ULONG ulTimeStampLo
 lower 32 bit of timestamp
USHORT usBusState
 bus state: XCAN_BUS_ON, XCAN_BUS_HEAVY, XCAN_BUS_OFF, XCAN_LINE_ERROR
USHORT usBusInfo
 error info: 1=stuff error, 2=format error, 3=Ack error, 4+5=bit error, 6=CRC error


Detailed Description

interface state

This structure is provided in the parameter space to indicate the current bus state. It can be read using max_read_par_block (offset CAN_PARAM_STATE0 or CAN_PARAM_STATE1).

See also:
parameter_t

Definition at line 87 of file minican.h.


Field Documentation

ULONG CAN_INTERFACE_STATE::ulTimeStampHi

upper 32 bit of timestamp

Definition at line 89 of file minican.h.

Referenced by CbControl().

ULONG CAN_INTERFACE_STATE::ulTimeStampLo

lower 32 bit of timestamp

Definition at line 90 of file minican.h.

Referenced by CbControl().

USHORT CAN_INTERFACE_STATE::usBusInfo

error info: 1=stuff error, 2=format error, 3=Ack error, 4+5=bit error, 6=CRC error

Definition at line 92 of file minican.h.

USHORT CAN_INTERFACE_STATE::usBusState

bus state: XCAN_BUS_ON, XCAN_BUS_HEAVY, XCAN_BUS_OFF, XCAN_LINE_ERROR

Definition at line 91 of file minican.h.

Referenced by CbControl().


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