10#ifndef DSY_SAMPLEHOLD_H
11#define DSY_SAMPLEHOLD_H
42 Process(
bool trigger,
float input, Mode mode = MODE_SAMPLE_HOLD)
44 Update(trigger, input);
45 return mode == MODE_SAMPLE_HOLD ? sample_ : track_;
51 bool previous_ =
false;
54 inline void Update(
bool trigger,
float input)
Definition samplehold.h:24
float Process(bool trigger, float input, Mode mode=MODE_SAMPLE_HOLD)
Definition samplehold.h:42
FIR Filter implementation, generic and ARM CMSIS DSP based.
Definition adenv.h:16