Skip to main content
Open topic with navigation CAPL Functions » MOST » OnMostAllBypass

OnMostAllBypass

Valid for: CANoe DE

Function Syntax

OnMostAllBypass(long mode);

Description

The event procedure OnMostAllBypass is called if the bypass of the MOST chip was opened or closed. The variable mode contains the new state. Supplemental information can be called up within this procedure by the mostEventChannel, mostEventTime and mostEventOrigTime functions. Controller events are passed through CAPL nodes. Please use the Multibus filter or MOST Filter to filter these events in node chains.

Parameters

  • mode
    0: The bypass is opened.
    1: The bypass is closed. The MOST hardware is transparent to other devices on the ring.

Return Values

Example

mostSetAllBypassmostGetAllBypass