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• Bits.ovr:[out] Data overrun. The bit is set to 1 if the receive FIFO is full after this messageis entered.• Bits.ido:[in] ID only. The bit is only relevant for messages of type LIN_MSGTYPE_DATAwhich are transmitted directly. If the bit is set to 1 for transmit messages, onlythe ID is transmitted without data and is therefore used in master mode tosend the IDs. With all other message types, this bit has no significance.• Bits.res:Reserved for future extensions. This field is normally 0.5.3.5 LINMSGThe data type describes the structure of LIN message telegrams.typedef struct _LINMSG{UINT32 dwTime;LINMSGINFO uMsgInfo;UINT8 abData[8];} LINMSG, *PLINMSG;• dwTime:[in/out] With receive messages, this field contains the relative receive time ofthe message in ticks. The resolution of a tick can be calculated from the fieldsdwClockFreq and dwTscDivisor of the structure LINCAPABILITIES in accordancewith the following formula:Frequency [s] = dwTscDivisor / dwClockFreq• uMsgInfo:[in/out] Bit field with information on the message. A description of the bit fieldis given in section 5.3.4.• abData:[in/out] Array for up to 8 data bytes. The number of valid data bytes is definedby the field uMsgInfo.Bits.dlen.106Copyright 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!