The InputRange class Handles controlling the inputrange (V) for induvidual channels.
More...
#include <Driver/DriverComponents/InputRange.h>
|
enum | Voltage { _0_1 = SetInputRange::_0_1,
_1 = SetInputRange::_1,
_10 = SetInputRange::_10
} |
|
The InputRange class Handles controlling the inputrange (V) for induvidual channels.
Definition at line 19 of file InputRange.h.
◆ Voltage
◆ InputRange()
InputRange::InputRange |
( |
pMessageProcessor |
messageProcessor | ) |
|
|
explicit |
◆ getInputRange()
getInputRange Gets input range for channel in Volts
- Parameters
-
channel | channel to get inputrange for |
- Returns
- inputrange in volts
Definition at line 22 of file InputRange.cpp.
◆ handleSetInputRangeRecieved()
void InputRange::handleSetInputRangeRecieved |
( |
const google::protobuf::Message & |
message | ) |
|
|
protected |
◆ reset()
void InputRange::reset |
( |
| ) |
|
|
overridevirtual |
◆ setInputRange()
setInputRange Sets inputrange for channel
- Parameters
-
channel | channel to set inputrange for |
voltage | input range in Volts |
Definition at line 9 of file InputRange.cpp.
◆ m_inputRangeVoltages
std::atomic<Voltage> InputRange::m_inputRangeVoltages[6] |
|
private |