|
| TransferFunctionConfig () |
|
void | load (const Registers ®s) |
|
void | get (Registers ®s) |
|
void | setDefault () |
|
void | obtain (CFG0register &cfg0, ZDACregister &zdac, GDACregister &gdac) const |
|
void | assign (const CFG0register &cfg0, const ZDACregister &zdac, const GDACregister &gdac) |
|
void | load (const CFG0register &cfg0) |
|
void | load (const ZDACregister &zdac) |
|
void | load (const GDACregister &gdac) |
|
float | valueOfGI () |
|
float | valueOfGO () |
|
float | valueOfGD () |
|
float | valueOfGD (std::uint16_t x) |
|
float | valueOfCOR () |
|
float | regvco2value (std::uint8_t co) |
|
std::uint8_t | value2regvco (float v) |
|
float | valueOfCoarseOffset () |
|
float | valueOfFineOffset () |
|
float | alpha () |
|
float | alpha (std::uint16_t x) |
|
float | beta () |
|
void | computeOffsetParams (const std::uint16_t vout, float &a, float &b, float &c) |
|
bool | alignVOUT (const std::uint16_t vout, const std::uint16_t target, std::uint8_t &Y, std::uint16_t &Z) |
|
bool | setalpha (float a) |
|
bool | setbeta (float b) |
|
|
static const std::uint16_t | VREF = 8192 |
|
Definition at line 231 of file strain.cpp.
◆ Parameter
Enumerator |
---|
GD | |
GI | |
muxsign | |
GO | |
Vcoarseoffset | |
Vzerodac | |
Definition at line 243 of file strain.cpp.
◆ TransferFunctionConfig()
strain::amplifier::PGA308::Impl::TransferFunctionConfig::TransferFunctionConfig |
( |
| ) |
|
|
inline |
◆ alignVOUT()
bool strain::amplifier::PGA308::Impl::TransferFunctionConfig::alignVOUT |
( |
const std::uint16_t |
vout, |
|
|
const std::uint16_t |
target, |
|
|
std::uint8_t & |
Y, |
|
|
std::uint16_t & |
Z |
|
) |
| |
|
inline |
◆ alpha() [1/2]
float strain::amplifier::PGA308::Impl::TransferFunctionConfig::alpha |
( |
| ) |
|
|
inline |
◆ alpha() [2/2]
float strain::amplifier::PGA308::Impl::TransferFunctionConfig::alpha |
( |
std::uint16_t |
x | ) |
|
|
inline |
◆ assign()
◆ beta()
float strain::amplifier::PGA308::Impl::TransferFunctionConfig::beta |
( |
| ) |
|
|
inline |
◆ computeOffsetParams()
void strain::amplifier::PGA308::Impl::TransferFunctionConfig::computeOffsetParams |
( |
const std::uint16_t |
vout, |
|
|
float & |
a, |
|
|
float & |
b, |
|
|
float & |
c |
|
) |
| |
|
inline |
◆ get()
void strain::amplifier::PGA308::Impl::TransferFunctionConfig::get |
( |
Registers & |
regs | ) |
|
|
inline |
◆ load() [1/4]
void strain::amplifier::PGA308::Impl::TransferFunctionConfig::load |
( |
const CFG0register & |
cfg0 | ) |
|
|
inline |
◆ load() [2/4]
void strain::amplifier::PGA308::Impl::TransferFunctionConfig::load |
( |
const GDACregister & |
gdac | ) |
|
|
inline |
◆ load() [3/4]
void strain::amplifier::PGA308::Impl::TransferFunctionConfig::load |
( |
const Registers & |
regs | ) |
|
|
inline |
◆ load() [4/4]
void strain::amplifier::PGA308::Impl::TransferFunctionConfig::load |
( |
const ZDACregister & |
zdac | ) |
|
|
inline |
◆ obtain()
◆ regvco2value()
float strain::amplifier::PGA308::Impl::TransferFunctionConfig::regvco2value |
( |
std::uint8_t |
co | ) |
|
|
inline |
◆ setalpha()
bool strain::amplifier::PGA308::Impl::TransferFunctionConfig::setalpha |
( |
float |
a | ) |
|
|
inline |
◆ setbeta()
bool strain::amplifier::PGA308::Impl::TransferFunctionConfig::setbeta |
( |
float |
b | ) |
|
|
inline |
◆ setDefault()
void strain::amplifier::PGA308::Impl::TransferFunctionConfig::setDefault |
( |
| ) |
|
|
inline |
◆ value2regvco()
std::uint8_t strain::amplifier::PGA308::Impl::TransferFunctionConfig::value2regvco |
( |
float |
v | ) |
|
|
inline |
◆ valueOfCoarseOffset()
float strain::amplifier::PGA308::Impl::TransferFunctionConfig::valueOfCoarseOffset |
( |
| ) |
|
|
inline |
◆ valueOfCOR()
float strain::amplifier::PGA308::Impl::TransferFunctionConfig::valueOfCOR |
( |
| ) |
|
|
inline |
◆ valueOfFineOffset()
float strain::amplifier::PGA308::Impl::TransferFunctionConfig::valueOfFineOffset |
( |
| ) |
|
|
inline |
◆ valueOfGD() [1/2]
float strain::amplifier::PGA308::Impl::TransferFunctionConfig::valueOfGD |
( |
| ) |
|
|
inline |
◆ valueOfGD() [2/2]
float strain::amplifier::PGA308::Impl::TransferFunctionConfig::valueOfGD |
( |
std::uint16_t |
x | ) |
|
|
inline |
◆ valueOfGI()
float strain::amplifier::PGA308::Impl::TransferFunctionConfig::valueOfGI |
( |
| ) |
|
|
inline |
◆ valueOfGO()
float strain::amplifier::PGA308::Impl::TransferFunctionConfig::valueOfGO |
( |
| ) |
|
|
inline |
◆ GD
std::uint16_t strain::amplifier::PGA308::Impl::TransferFunctionConfig::GD |
◆ GI
std::uint8_t strain::amplifier::PGA308::Impl::TransferFunctionConfig::GI |
◆ GO
std::uint8_t strain::amplifier::PGA308::Impl::TransferFunctionConfig::GO |
◆ muxsign
std::uint8_t strain::amplifier::PGA308::Impl::TransferFunctionConfig::muxsign |
◆ Vcoarseoffset
std::uint8_t strain::amplifier::PGA308::Impl::TransferFunctionConfig::Vcoarseoffset |
◆ VREF
const std::uint16_t strain::amplifier::PGA308::Impl::TransferFunctionConfig::VREF = 8192 |
|
static |
◆ Vzerodac
std::uint16_t strain::amplifier::PGA308::Impl::TransferFunctionConfig::Vzerodac |
The documentation for this struct was generated from the following file:
- icub-main/src/tools/canLoader/canLoaderLib/strain.cpp