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

OnMostEcl

Valid for: CANoe DE Note
This function is only available with MOST hardware VN2640.

Function Syntax

OnMostEcl(long eclState);

Description

The event procedure is called when the state of the Electrical Control Line has changed. Within this event procedure the functions mostEventChannel, mostEventTime and mostEventOrigTime can be used to call up supplemental information.

Parameters

  • eclState:
    0: Low
    1: High

Return Values

Example

Output of ECL changes with time stamp.
OnMostEcl(long eclState)
{
   write("ECL state at %fs: %d", mostEventTimeNs() / 1.0e9, eclState);
}
mostSetEclmostSetEclGlitchFiltermostConfigureEclSequenceOnMostEclSequence