13.07.2015 Views

VCI - Virtual CAN Interface - Ixxat

VCI - Virtual CAN Interface - Ixxat

VCI - Virtual CAN Interface - Ixxat

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Types and structures• dwCmsMaxTicks:[out] Maximum cycle time of the cyclic transmit list in timer ticks. If no cyclictransmit list is available, the field has the value 0.• dwDtxDivisor:[out] Divisor factor for the timer used for delayed transmission of messages.The frequency of the timer is calculated from the frequency of the primary timerdivided by the value specified here. If delayed transmission is not supportedby the <strong>CAN</strong> interface board, the field has the value 0.• dwDtxMaxTicks:[out] Maximum delay time of the delayed message transmitter in timer ticks. Ifdelayed transmission is not supported by the <strong>CAN</strong> interface board, the field hasthe value 0.5.2.2 <strong>CAN</strong>LINESTATUSThe data type describes the current status of a <strong>CAN</strong> controller. The structure is asfollows:typedef struct{UINT8 bOpMode;UINT8 bBtReg0;UINT8 bBtReg1;UINT8 bBusLoad;UINT32 dwStatus;} <strong>CAN</strong>LINESTATUS, *P<strong>CAN</strong>LINESTATUS;• bOpMode:[out] Current operating mode of the <strong>CAN</strong> controller. The value is a combinationof one or more <strong>CAN</strong>_OPMODE_ constants and contains the value specifiedin the parameter bMode when the function canControlInitialize is called.• bBtReg0:[out] Current value of the bus timing register 0. The value corresponds to theBTR0 register of the Philips SJA 1000 <strong>CAN</strong> controller with a cycle frequency of16 MHz. Further information on this is given in the datasheet of the SJA 1000.• bBtReg1:[out] Current value of the bus timing register 1. The value corresponds to theBTR1 register of the Philips SJA 1000 <strong>CAN</strong> controller with a cycle frequency of16 MHz. Further information on this is given in the datasheet of the SJA 1000.• bBusLoad:[out] Current bus load in per cent (0 to 100). The value is only valid if the busload calculation is supported by the controller. Further information is given inthe section on <strong>CAN</strong>CAPABILITIES.93Copyright 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!