13.07.2015 Views

VCI - Virtual CAN Interface - Ixxat

VCI - Virtual CAN Interface - Ixxat

VCI - Virtual CAN Interface - Ixxat

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Types and structures• dwClockFreq:[out] Frequency of the primary timer in Hz.• dwTscDivisor:[out] Divisor factor of the time stamp counter. The time stamp counter suppliesthe time stamp for LIN messages. The frequency of the time stamp counter iscalculated from the frequency of the primary timer divided by the value definedhere.5.3.2 LINLINESTATUSThe data type describes the current status of a LIN controller. The structure is asfollows:typedef struct _LINLINESTATUS{UINT8 bOpMode;UINT8 bReserved;UINT16 wBitrate;UINT32 dwStatus;} LINLINESTATUS, *PLINLINESTATUS;• bOpMode:[out] Current operating mode of the LIN controller. The value is a combinationof one or more LIN_OPMODE_ constants from and contains thevalue defined in the parameter bMode when the function linControlInitialize iscalled.• bReserved:[out] not used.• wBitrate:[out] Currently set bitrate in bits per second.• dwStatus:[out] Current status of the LIN controller. The value is a combination of one ormore of the following constants:LIN_STATUS_OVRRUN:A data overrun has occurred in the receive buffer of the controller.LIN_STATUS_ININIT:The controller is in stopped status.5.3.3 LINMONITORSTATUSThe data type describes the current status of a LIN message monitor. The structureis as follows:typedef struct _LINMONITORSTATUS{LINLINESTATUS sLineStatus;BOOL32fActivated;BOOL32fRxOverrun;UINT8bRxFifoLoad;} LINMONITORSTATUS, *PLINMONITORSTATUS;102Copyright IXXAT Automation GmbH C-API Programming Manual, Version 1.5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!