adapnex::core::HysteresisWithDelay::operator()

Function call operators

Synopses

Declared in <adapnex/core/hysteresis.h>

void
operator()(
    T IN,
    T SET,
    T RESET,
    Duration PT);

Function call operator

void
operator()(
    T IN,
    T SET,
    T RESET,
    Duration PT,
    bool& OUT);

Parameters

Name Description

IN

Input value that is evaluated.

SET

Input threshold that sets the output OUT to true when crossed for a duration defined by PT.

RESET

Input threshold that resets teh output OUT to false when crossed for a duration defined by PT.

PT

Input duration that delays the effect of crossing the thresholds.

OUT

Output that switches between true and false depending on the input value, thresholds and delay.

Created with MrDocs