1 PLIN-API Documentation - PEAK-System
1 PLIN-API Documentation - PEAK-System
1 PLIN-API Documentation - PEAK-System
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
4.2 Types <strong>PLIN</strong> <strong>API</strong> <strong>Documentation</strong> TLINSlotType<br />
C#<br />
#define mstAutobaudrateReply 4<br />
#define mstOverrun 5<br />
public enum TLINMsgType : byte<br />
{<br />
mstStandard = 0,<br />
mstBusSleep = 1,<br />
mstBusWakeUp = 2,<br />
mstAutobaudrateTimeOut = 3,<br />
mstAutobaudrateReply = 4,<br />
mstOverrun = 5,<br />
}<br />
Visual Basic<br />
Public Enum TLINMsgType As Byte<br />
mstStandard = 0<br />
mstBusSleep = 1<br />
mstBusWakeUp = 2<br />
mstAutobaudrateTimeOut = 3<br />
mstAutobaudrateReply = 4<br />
mstOverrun = 5<br />
End Enum<br />
Values<br />
Name Value Description<br />
mstStandard 0 Standard LIN Message.<br />
mstBusSleep 1 Bus Sleep status message.<br />
mstBusWakeUp 2 Bus WakeUp status message.<br />
mstAutobaudrateTimeOut 3 Auto-baudrate Timeout status message.<br />
mstAutobaudrateReply 4 Auto-baudrate Reply status message.<br />
mstOverrun 5 Bus Overrun status message.<br />
4.2.7 TLINSlotType<br />
Represents the Type of a LIN Schedule Slot. According with the programming language, this type can be a group of defined<br />
values or an enumeration.<br />
Syntax<br />
Pascal<br />
C++<br />
{$Z1}<br />
TLINSlotType = (<br />
sltUnconditional = 0,<br />
sltEvent = 1,<br />
sltSporadic = 2,<br />
sltMasterRequest = 3,<br />
sltSlaveResponse = 4<br />
);<br />
#define TLINSlotType BYTE<br />
#define sltUnconditional 0<br />
#define sltEvent 1<br />
#define sltSporadic 2<br />
40<br />
4