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 » linDeactivateBitInversion

linDeactivateBitInversion

Valid for: CANoe DE

Function Syntax

long LINDeactivateBitInversion();

Description

With this function it is possible to cancel a previously activated bits inversion for LIN header or response. This function is useful when after calling linInvertHeaderBit() no header occurred yet on the bus or when after calling linInvertRespBit() no frame occurred yet.

Parameters

Return Values

On success a value unequal to zero, otherwise zero.

Example

Deactivate previous bit inversion
on key 'd'
{
   if (0==linDeactivateBitInversion())
   {
      write("CAPL: Bit inversion deactivation failure!");
   }
}
linInvertHeaderBitlinInvertRespBit