fastcat 0.13.15
C++ EtherCAT Device Command & Control Library
Loading...
Searching...
No Matches
schmitt_trigger.h
Go to the documentation of this file.
1#ifndef FASTCAT_SCHMITT_TRIGGER_H_
2#define FASTCAT_SCHMITT_TRIGGER_H_
3
4// Include related header (for cc files)
5
6// Include c then c++ libraries
7
8// Include external then project includes
9#include "fastcat/device_base.h"
10
11namespace fastcat
12{
14{
15 public:
17 bool ConfigFromYaml(const YAML::Node& node) override;
18 bool Read() override;
19
20 protected:
21 double low_threshold_{0};
22 double high_threshold_{0};
23};
24
25} // namespace fastcat
26
27#endif
Definition device_base.h:20
Definition schmitt_trigger.h:14
bool ConfigFromYaml(const YAML::Node &node) override
Definition schmitt_trigger.cc:18
double high_threshold_
Definition schmitt_trigger.h:22
SchmittTrigger()
Definition schmitt_trigger.cc:12
bool Read() override
Definition schmitt_trigger.cc:44
double low_threshold_
Definition schmitt_trigger.h:21
Definition device_base.h:18