Lines Matching +full:double +full:- +full:channel
8 // http://www.apache.org/licenses/LICENSE-2.0
30 #include <phosphor-logging/lg2.hpp>
49 static constexpr double roundFactor = 10000; // 3 decimal places
50 static constexpr double maxVoltageReading = 1.8; // pre sensor scaling
51 static constexpr double minVoltageReading = 0;
57 std::vector<thresholds::Threshold>&& thresholdsIn, const double scaleFactor, in ADCSensor()
69 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg) in ADCSensor()
112 updateValue(std::numeric_limits<double>::quiet_NaN()); in setupRead()
125 // In case a channel has a bridge circuit,we have to turn the bridge on in setupRead()
130 std::chrono::milliseconds(bridgeGpio->setupTimeMs)); in setupRead()
142 self->inputDev, *buffer, '\n', in setupRead()
148 self->readBuf = buffer; in setupRead()
149 self->handleResponse(ec); in setupRead()
164 self->readBuf = buffer; in setupRead()
165 self->handleResponse(ec); in setupRead()
182 self->name); in restartRead()
193 self->setupRead(); in restartRead()
221 double nvalue = (rawValue / sensorScaleFactor) / scaleFactor; in handleResponse()
242 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg) in handleResponse()