iCub-main
Classes | Public Member Functions | Protected Member Functions | List of all members
strain::amplifier::PGA308 Class Reference

#include <strain.h>

Classes

struct  Impl
 
class  Registers
 

Public Member Functions

 PGA308 ()
 
 ~PGA308 ()
 
bool import (const Registers &regs, WideParams *wideparams=nullptr)
 
bool get (WideParams &wideparams)
 
bool import (const DiscreteParams &discreteparams, Registers *regs=nullptr)
 
bool get (Registers &regs)
 

Protected Member Functions

bool load (const Registers &regs)
 
bool load (const DiscreteGain g, const Offset offset=midrangeOffset)
 
bool load (const DiscreteParams &discreteparams)
 
bool get (Gain &gain, Offset &offset)
 
bool get (DiscreteParams &discreteparams)
 

Detailed Description

Definition at line 179 of file strain.h.

Constructor & Destructor Documentation

◆ PGA308()

strain::amplifier::PGA308::PGA308 ( )

Definition at line 797 of file strain.cpp.

◆ ~PGA308()

strain::amplifier::PGA308::~PGA308 ( )

Definition at line 803 of file strain.cpp.

Member Function Documentation

◆ get() [1/4]

bool strain::amplifier::PGA308::get ( DiscreteParams discreteparams)
protected

◆ get() [2/4]

bool strain::amplifier::PGA308::get ( Gain gain,
Offset offset 
)
protected

Definition at line 857 of file strain.cpp.

◆ get() [3/4]

bool strain::amplifier::PGA308::get ( Registers regs)

Definition at line 873 of file strain.cpp.

◆ get() [4/4]

bool strain::amplifier::PGA308::get ( WideParams wideparams)

Definition at line 862 of file strain.cpp.

◆ import() [1/2]

bool strain::amplifier::PGA308::import ( const DiscreteParams discreteparams,
Registers regs = nullptr 
)

Definition at line 820 of file strain.cpp.

◆ import() [2/2]

bool strain::amplifier::PGA308::import ( const Registers regs,
WideParams wideparams = nullptr 
)

Definition at line 808 of file strain.cpp.

◆ load() [1/3]

bool strain::amplifier::PGA308::load ( const DiscreteGain  g,
const Offset  offset = midrangeOffset 
)
protected

Definition at line 841 of file strain.cpp.

◆ load() [2/3]

bool strain::amplifier::PGA308::load ( const DiscreteParams discreteparams)
protected

Definition at line 851 of file strain.cpp.

◆ load() [3/3]

bool strain::amplifier::PGA308::load ( const Registers regs)
protected

Definition at line 834 of file strain.cpp.


The documentation for this class was generated from the following files: