linSetwakeupCondition
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
linSetWakeupCondition(dword numWakeupSignals); // form 1linSetWakeupCondition(dword numWakeupSignals, dword forgetWupsAfterMS); // form 2
Description
Determines the conditions under which the LIN hardware can be reactivated (leaves the sleep mode). Note: When LIN hardware is not in master mode calling this function will have no effect.Parameters
-
numWakeupSignals
This parameter specifies the number of wakeup signals, after that the LIN hardware is reactivated. If the value 0 is set, the LIN hardware will never leave the sleep mode.
Value range: 0..31
Default value: 1 -
forgetWupsAfterMS
This parameter defines the time after that earlier wake-up signals are not any longer taken into account for the wake-up behavior.
Default value: 0