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

linGotoSleepInternal

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long linGotoSleepInternal();

Description

Sets the LIN hardware to Sleep mode without sending a go-to-sleep-command on the network. Calling this function in the event procedure on prestart leads to measurement start in sleep mode.

Parameters

Return Values

On success, a value unequal to zero, otherwise zero.

Example

// start measurement in Sleep mode
on preStart
{
  linGotoSleepInternal();
}