Skip to main content
Open topic with navigation CAPL Functions » LIN » linRegisterSchedulerStartStopCallback

linRegisterSchedulerStartStopCallback

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

Registers a callback function which is invoked if a LIN scheduler is either started or stopped. Note
This function may only be called in the event procedure on preStart.

Parameters

  • callbackName
    The name of the callback function which should be registered. The callback must have the following signature:
    void func (dword channel, dword started, int64 eventTime)

Return Values

Returns 1 if the registration succeeded, otherwise 0.

Example