Skip to main content

Documentation Index

Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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();
}