#include <i2c.h>
Definition at line 120 of file i2c.h.
◆ coordinate_type
◆ is_leaf_node
◆ INA219Status()
haldls::vx::INA219Status::INA219Status |
( |
| ) |
|
◆ decode()
void haldls::vx::INA219Status::decode |
( |
std::array< fisch::vx::word_access_type::I2CINA219RoRegister, read_config_size_in_words > const & |
data | ) |
|
◆ encode()
std::array<fisch::vx::word_access_type::I2CINA219RoRegister, write_config_size_in_words> haldls::vx::INA219Status::encode |
( |
| ) |
const |
◆ get_bus_voltage()
BusVoltage haldls::vx::INA219Status::get_bus_voltage |
( |
| ) |
const |
Get bus voltage value.
- Returns
- Value
◆ get_bus_voltage_overflow()
bool haldls::vx::INA219Status::get_bus_voltage_overflow |
( |
| ) |
const |
Get bus voltage overflow value.
- Returns
- Value
◆ get_shunt_voltage()
ShuntVoltage haldls::vx::INA219Status::get_shunt_voltage |
( |
| ) |
const |
Get shunt voltage value.
- Returns
- Value
◆ operator!=()
bool haldls::vx::INA219Status::operator!= |
( |
INA219Status const & |
other | ) |
const |
◆ operator==()
bool haldls::vx::INA219Status::operator== |
( |
INA219Status const & |
other | ) |
const |
◆ read_addresses()
◆ set_bus_voltage()
void haldls::vx::INA219Status::set_bus_voltage |
( |
BusVoltage |
value | ) |
|
Set bus voltage value.
- Parameters
-
◆ set_bus_voltage_overflow()
void haldls::vx::INA219Status::set_bus_voltage_overflow |
( |
bool |
value | ) |
|
Set bus voltage overflow value.
- Parameters
-
◆ set_shunt_voltage()
void haldls::vx::INA219Status::set_shunt_voltage |
( |
ShuntVoltage |
value | ) |
|
Set shunt voltage value.
- Parameters
-
◆ toUncalibratedPower()
Convert bus and shunt voltage to uncalibrated power value.
The voltages are assumed to be correct, the shunt resistance defaults to the expected value of 0.027 Ohm.
◆ write_addresses()
◆ cereal::access
friend class cereal::access |
|
friend |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
INA219Status const & |
config |
|
) |
| |
|
friend |
◆ read_config_size_in_words
constexpr size_t haldls::vx::INA219Status::read_config_size_in_words = 2 |
|
staticconstexpr |
◆ unsupported_read_targets
constexpr static auto haldls::vx::INA219Status::unsupported_read_targets |
|
staticconstexpr |
Initial value:= {
hxcomm::vx::Target::simulation}
Definition at line 125 of file i2c.h.
◆ write_config_size_in_words
constexpr size_t haldls::vx::INA219Status::write_config_size_in_words = 0 |
|
staticconstexpr |
The documentation for this class was generated from the following file:
- /jenkins/jenlib_workspaces_f9/bld_nightly-haldls.YmxkX25pZ2h0bHktaGFsZGxzIzEzNzk.x/haldls/include/haldls/vx/i2c.h