adapnex::core::Hysteresis

A hysteresis that sets/resets the output when the defined thresholds are crossed.

Synopsis

Declared in <adapnex/core/hysteresis.h>

template<typename T>
class Hysteresis;

Description

Both SET > RESET and SET < RESET are allowed. The implementation adapts the comparisons accordingly.

Member Functions

Name

Description

operator()

Function call operators

Data Members

Name

Description

IN

Input value that is evaluated.

OUT

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

RESET

Input threshold that resets teh output OUT to false when crossed.

SET

Input threshold that sets the output OUT to true when crossed.

Created with MrDocs