iCub-main
|
Classes | |
struct | DiscreteParams |
struct | Example_strain2_ampl_regs_t |
class | IFregs |
class | PGA308 |
struct | WideParams |
Typedefs | |
using | Gain = float |
using | Offset = std::uint16_t |
Enumerations | |
enum class | DiscreteGain { val256 = 0 , val128 = 1 , val96 = 2 , val64 = 3 , val48 = 4 , val36 = 5 , val24 = 6 , val20 = 7 , val16 = 8 , val10 = 9 , val08 = 10 , val06 = 11 , val04 = 12 , none = 32 , maxnumberof = 13 } |
Functions | |
Gain | convert (const DiscreteGain dg) |
bool | convert (const Gain g, DiscreteGain &dg) |
bool | convert (const WideParams &wp, DiscreteParams &dp) |
void | testIT (std::string &output) |
void | exampleofuse (void) |
Variables | |
static const float | mapofgains [static_cast< uint8_t >(DiscreteGain::maxnumberof)] |
const Offset | minimumOffset = 0 |
const Offset | midrangeOffset = 32*1024-1 |
const Offset | maximumOffset = 64*1024-1 |
using strain::amplifier::Gain = typedef float |
using strain::amplifier::Offset = typedef std::uint16_t |
|
strong |
Gain strain::amplifier::convert | ( | const DiscreteGain | dg | ) |
Definition at line 673 of file strain.cpp.
bool strain::amplifier::convert | ( | const Gain | g, |
DiscreteGain & | dg | ||
) |
Definition at line 683 of file strain.cpp.
bool strain::amplifier::convert | ( | const WideParams & | wp, |
DiscreteParams & | dp | ||
) |
Definition at line 702 of file strain.cpp.
void strain::amplifier::exampleofuse | ( | void | ) |
Definition at line 987 of file strain.cpp.
void strain::amplifier::testIT | ( | std::string & | output | ) |
Definition at line 906 of file strain.cpp.
|
static |
Definition at line 668 of file strain.cpp.