Skip to main content
Version: 3.00

API List (LIN)

For common APIs, see Common > API List.

This page describes the list of LIN APIs available in this product and the callable conditions for each API.

Quick Guide by Task​

TaskAPIs to review firstRelated pages
Configure communication parametersMPXLINSetParamLIN API Mapping, Constant Definitions (LIN)
Master simulationMPXLINSetMasterSim, MPXLINSetMasterSchedule, MPXLINChangeMasterScheduleStructure Definitions (LIN), LIN Master Sample
Slave simulationMPXLINSetSlaveSim, MPXLINSetSlaveItem, MPXLINChangeSlaveItemLIN Slave Sample
Log acquisition / analysisMPXLINGetLogExAPI Details (Common), LIN Monitor Sample

API List​

API NameFunctionTypical use case
MPXLINSetParamConfigure LIN communication parametersConfigure prerequisites before starting monitor/master/slave mode
MPXLINGetLogExAcquire LIN log information (store in structure array)Periodic LIN log acquisition
MPXLINSetStatusConfigure LIN statusControl Run/Sleep state
MPXLINSetMasterSimConfigure LIN master simulationInitial setup of schedule contents
MPXLINSetMasterItemConfigure LIN master simulation itemToggle item enable/disable
MPXLINChangeMasterItemChange LIN master simulation itemDynamically update item contents
MPXLINSetMasterScheduleConfigure LIN master scheduleEnable schedule / set OneTime
MPXLINChangeMasterScheduleChange LIN master scheduleSwitch active schedule
MPXLINPauseMasterSchedulePause LIN master schedulePause/resume operation
MPXLINMasterInterruptPerform LIN interrupt transmissionImmediate interrupt transmission from master
MPXLINSetSlaveSimConfigure LIN slave simulationInitial setup of response definitions
MPXLINSetSlaveItemConfigure LIN slave simulation itemToggle enable/disable per response ID
MPXLINChangeSlaveItemChange LIN slave simulation itemDynamically update response data
MPXLINSlaveWakeupPerform LIN slave wakeup transmissionSend bus wakeup request

API Callable Conditions​

Each API can be called only when the recognition status or device status is marked with ○ in the table below.
Operation is not guaranteed in other states.

APIStatus
Not RecognizedRecognized (Status: MPX_STATUS_***)
RUNPARAMSYNCNONEMONSIM
MPXLINSetParam○
MPXLINGetLogEx○○○
MPXLINSetStatus○○○
MPXLINSetMasterSim○○
MPXLINSetMasterItem○
MPXLINChangeMasterItem○
MPXLINSetMasterSchedule○○
MPXLINChangeMasterSchedule○○○
MPXLINPauseMasterSchedule○
MPXLINMasterInterrupt○
MPXLINSetSlaveSim○○
MPXLINSetSlaveItem○
MPXLINChangeSlaveItem○
MPXLINSlaveWakeup○