xref: /openbmc/phosphor-hwmon/hwmon.hpp (revision b778df0ec874a2c73ae7dbed458bd5a04a3165f9)
1 #pragma once
2 
3 #include <string>
4 
5 namespace hwmon
6 {
7 namespace entry
8 {
9 static constexpr auto cinput = "input";
10 static constexpr auto clabel = "label";
11 static constexpr auto ctarget = "target";
12 static constexpr auto cenable = "enable";
13 
14 static const std::string input = cinput;
15 static const std::string label = clabel;
16 static const std::string target = ctarget;
17 static const std::string enable = cenable;
18 }
19 
20 namespace type
21 {
22 static constexpr auto cfan = "fan";
23 static constexpr auto ctemp = "temp";
24 static constexpr auto cvolt = "in";
25 static constexpr auto ccurr = "curr";
26 static constexpr auto cenergy = "energy";
27 static constexpr auto cpower = "power";
28 static constexpr auto cpwm = "pwm";
29 
30 
31 static const std::string fan = cfan;
32 static const std::string temp = ctemp;
33 static const std::string volt = cvolt;
34 static const std::string curr = ccurr;
35 static const std::string energy = cenergy;
36 static const std::string power = cpower;
37 static const std::string pwm = cpwm;
38 }
39 }
40 
41 // vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
42