Documentation PDF

MUXDLL  V6.58

Data Structures

struct  tLinBus
 Bus. More...
 
struct  tLinEvent
 Event. More...
 
struct  tLinMsg
 Message. More...
 
struct  tLinOper
 Type of interface with the application. More...
 
struct  tLinParam
 Parameters. More...
 
struct  tLinPeriodicMsg
 Periodic message. More...
 
struct  tLinStat
 LIN statistics. More...
 

Macros

#define LIN_MAX_DATA   8
 Maximum LIN data length.
 
#define LIN_PERIODIC_PARAM_DISABLE   0
 Disable periodic frame.
 
#define LIN_PERIODIC_PARAM_ENABLE   1
 Enable periodic frame.
 
#define LIN_PERIODIC_PARAM_NOEVENTS   0
 Disable the events.
 
#define LIN_PERIODIC_PARAM_WITHEVENTS   2
 Enable the events.
 

Enumerations

enum  tLinBaudRate {
  LIN_BAUD_2400 = 2400L, LIN_BAUD_9600 = 9600L, LIN_BAUD_10400 = 10400L, LIN_BAUD_19200 = 19200L,
  LIN_BAUD_20833 = 20833L, LIN_BAUD_38400 = 38400L
}
 Baud rate. More...
 
enum  tLinBoolean { LIN_FALSE = 0, LIN_TRUE = 1 }
 Boolean. More...
 
enum  tLinChipState { LIN_BUS_NOMINAL = 0, LIN_BUS_ERROR = 1, LIN_BUS_IDLE = 2 }
 Chip state. More...
 
enum  tLinError {
  LIN_NO_ERR = 0x0000, LIN_ERR_BIT = 0x0001, LIN_ERR_CRC = 0x0002, LIN_ERR_TIMEOUT = 0x0003,
  LIN_ERR_PARITY = 0x0004, LIN_ERR_SYNCHRO = 0x0005, LIN_ERR_LENGTH = 0x0006, LIN_ERR_TO_TX = 0x0007,
  LIN_ERR_TO_SYNCHRO = 0x0008, LIN_ERR_TO_IDENT = 0x0009, LIN_ERR_TO_DATA = 0x000A, LIN_ERR_TO_CRC = 0x000B
}
 Errors. More...
 
enum  tLinGenErr {
  LIN_GEN_NO_ERR = 0x0000, LIN_GEN_ERR_P0 = 0x0001, LIN_GEN_ERR_P1 = 0x0002, LIN_GEN_ERR_CRC = 0x0003,
  LIN_GEN_ERR_SYNCH = 0x0004, LIN_GEN_ERR_DATP1 = 0x0005, LIN_GEN_ERR_DATP2 = 0x0006, LIN_GEN_ERR_DATL1 = 0x0007,
  LIN_GEN_ERR_DATL2 = 0x0008, LIN_GEN_FREE_ID = 0x0100, LIN_GEN_CLASSIC_CRC = 0x0200
}
 Generation errors. More...
 
enum  tLinOperMode { LIN_OPER_ANA_FIFO = 0 }
 Operating mode. More...
 
enum  tLinService {
  LIN_SVC_TRANSMIT_DATA = 0, LIN_SVC_RECEIVE_DATA = 1, LIN_SVC_REQUEST_IFR = 2, LIN_SVC_UPDATE_IFR = 3,
  LIN_SVC_WAKEUP = 4
}
 Service. More...
 

Detailed Description

Enumeration Type Documentation

◆ tLinBaudRate

Baud rate.

Enumerator
LIN_BAUD_2400 

2400 baud

LIN_BAUD_9600 

9600 baud

LIN_BAUD_10400 

10400 baud

LIN_BAUD_19200 

19200 baud

LIN_BAUD_20833 

20833 baud

LIN_BAUD_38400 

38400 baud

◆ tLinBoolean

Boolean.

Enumerator
LIN_FALSE 

False

LIN_TRUE 

True

◆ tLinChipState

Chip state.

Enumerator
LIN_BUS_NOMINAL 

Normal state

LIN_BUS_ERROR 

Error state

LIN_BUS_IDLE 

Bus idle state

◆ tLinError

enum tLinError

Errors.

Enumerator
LIN_NO_ERR 

No error

LIN_ERR_BIT 

Bit error

LIN_ERR_CRC 

CRC error

LIN_ERR_TIMEOUT 

The slave is not responding

LIN_ERR_PARITY 

Parity error

LIN_ERR_SYNCHRO 

Inconsistent synchronization bit error

LIN_ERR_LENGTH 

Length requested error

LIN_ERR_TO_TX 

Timeout while transmitting

LIN_ERR_TO_SYNCHRO 

Timeout waiting synchronization field

LIN_ERR_TO_IDENT 

Timeout waiting identification field

LIN_ERR_TO_DATA 

Timeout waiting data field

LIN_ERR_TO_CRC 

Timeout waiting CRC field

◆ tLinGenErr

enum tLinGenErr

Generation errors.

Enumerator
LIN_GEN_NO_ERR 

No error

LIN_GEN_ERR_P0 

P0 parity error

LIN_GEN_ERR_P1 

P1 parity error

LIN_GEN_ERR_CRC 

CRC error

LIN_GEN_ERR_SYNCH 

Synchronization char error

LIN_GEN_ERR_DATP1 

+1 byte in data field

LIN_GEN_ERR_DATP2 

+2 bytes in data field

LIN_GEN_ERR_DATL1 

-1 byte in data field

LIN_GEN_ERR_DATL2 

-2 bytes in data field

LIN_GEN_FREE_ID 

Free identification

LIN_GEN_CLASSIC_CRC 

Classic checksum

◆ tLinOperMode

Operating mode.

Enumerator
LIN_OPER_ANA_FIFO 

Analyse mode, event is stored in fifo mode

◆ tLinService

Service.

Enumerator
LIN_SVC_TRANSMIT_DATA 

Transmit message

LIN_SVC_RECEIVE_DATA 

Receive message

LIN_SVC_REQUEST_IFR 

Reply IFR message

LIN_SVC_UPDATE_IFR 

Update IFR (without transmission)

LIN_SVC_WAKEUP 

Wake up signal detected