EEROS
0.4.1.0
API for the EEROS Real-Time Robotics Framework
|
#include <ComediDac.hpp>
Public Member Functions | |
ComediDac (std::string id, ComediDevice *device, uint32_t subDeviceNumber, uint32_t channel, double scale=1, double offset=0) | |
virtual double | get () |
virtual void | set (double value) |
void | setVoltageRange (double minVoltage, double maxVoltage) |
void | setDacResolution (uint8_t bits) |
Public Member Functions inherited from eeros::hal::ScalablePeripheralOutput< double > | |
ScalablePeripheralOutput (std::string id, doublescale, doubleoffset) | |
virtual | ~ScalablePeripheralOutput () |
virtual double | getScale () |
virtual double | getOffset () |
virtual void | setScale (doubles) |
virtual void | setOffset (doubleo) |
Public Member Functions inherited from eeros::hal::PeripheralOutput< double > | |
PeripheralOutput (std::string id) | |
virtual | ~PeripheralOutput () |
virtual std::string | getId () const |
Public Member Functions inherited from eeros::hal::PeripheralOutputInterface | |
virtual | ~PeripheralOutputInterface () |
Additional Inherited Members | |
Protected Attributes inherited from eeros::hal::ScalablePeripheralOutput< double > | |
double | scale |
double | offset |
ComediDac::ComediDac | ( | std::string | id, |
ComediDevice * | device, | ||
uint32_t | subDeviceNumber, | ||
uint32_t | channel, | ||
double | scale = 1 , |
||
double | offset = 0 |
||
) |
|
virtual |
Implements eeros::hal::PeripheralOutput< double >.
|
virtual |
Implements eeros::hal::PeripheralOutput< double >.
void ComediDac::setDacResolution | ( | uint8_t | bits | ) |
void ComediDac::setVoltageRange | ( | double | minVoltage, |
double | maxVoltage | ||
) |