ifw-fcf 7.1.4
Loading...
Searching...
No Matches
adcHwErrors.hpp
Go to the documentation of this file.
1
8#ifndef FCF_DEVMGR_DEVICE_ADC_HW_ERRORS_HPP
9#define FCF_DEVMGR_DEVICE_ADC_HW_ERRORS_HPP
10
11#include <unordered_map>
12
13
14namespace ifw::fcf {
15 namespace devmgr {
16 namespace adc {
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, "Adc unknown command"},
31 {HW_ERR_INCONSISTENT, "Adc inconsistent hardware signals"},
32 {HW_ERR_INIT_FAILURE, "Adc init failure"},
33 {HW_ERR_ENABLE_FAILURE, "Adc enable failure"},
34 {HW_ERR_DISABLE_FAILURE, "Adc disable failure"},
35 };
36
37 }
38 }
39}
40
41#endif // FCF_DEVMGR_DEVICE_ADC_HW_ERRORS_HPP
const std::unordered_map< short, std::string > HW_ERRORS
Definition adcHwErrors.hpp:28
@ HW_SUCCESS
Definition adcHwErrors.hpp:19
@ HW_ERR_HW_NOT_OP
Definition adcHwErrors.hpp:20
@ HW_ERR_ENABLE_FAILURE
Definition adcHwErrors.hpp:24
@ HW_ERR_WRONG_CMD
Definition adcHwErrors.hpp:21
@ HW_ERR_DISABLE_FAILURE
Definition adcHwErrors.hpp:25
@ HW_ERR_INCONSISTENT
Definition adcHwErrors.hpp:22
@ HW_ERR_INIT_FAILURE
Definition adcHwErrors.hpp:23
ActionsEnable class source file.
Definition actionMgr.cpp:28