ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sensorHwErrors.hpp
Go to the documentation of this file.
1 
10 #ifndef FCF_DEVMGR_DEVICE_SENSOR_HW_ERRORS_HPP
11 #define FCF_DEVMGR_DEVICE_SENSOR_HW_ERRORS_HPP
12 
13 // System headers
14 #include <unordered_map>
15 
16 namespace fcf::devmgr::sensor {
17 
18  enum {
26  };
27 
28  const std::unordered_map<short, std::string> hw_errors = {
29  {HW_ERR_HW_NOT_OP, "TwinCAT not in OP state or CouplerState not mapped"},
30  {HW_ERR_WRONG_CMD, "unknown command"},
31  {HW_ERR_INCONSISTENT, "inconsistent hardware signals"},
32  {HW_ERR_INIT_FAILURE, "init failure"},
33  {HW_ERR_ENABLE_FAILURE, "enable failure"},
34  {HW_ERR_DISABLE_FAILURE, "disable failure"},
35  };
36 
37 }
38 
39 #endif // FCF_DEVMGR_DEVICE_SENSOR_HW_ERRORS_HPP
Definition: sensorHwErrors.hpp:22
Definition: sensorHwErrors.hpp:23
Definition: sensorHwErrors.hpp:19
Definition: sensorHwErrors.hpp:21
Definition: sensorHwErrors.hpp:25
Definition: sensorHwErrors.hpp:20
Definition: sensorHwErrors.hpp:24
const std::unordered_map< short, std::string > hw_errors
Definition: sensorHwErrors.hpp:28