Skip to main content
Open topic with navigation CAPL Functions » MOST » mostSetEclTermination, mostGetEclTermination

mostSetEclTermination, mostGetEclTermination

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

Function Syntax

long mostSetEclTermination(long channel, long eclTermination);
long mostGetEclTermination (long channel);

Description

Sets and gets the state of the termination resistor of the Electrical Control Line.

Parameters

  • channel
    Channel of the connected interface.
  • eclTermination
    0: pull-up not active
    1: pull-up active

Return Values

  • mostSetEclTermination
    See error codes
  • mostGetEclTermination
    >= 0: See eclState parameter
    \< 0: See error codes

Example

mostSetEclmostSetEclGlitchFiltermostConfigureEclSequence