M5Unit-METER 0.2.1 git rev:6a6ea23
|
INA226 Unit for M5UnitUnified. More...
#include <M5UnitComponent.hpp>
#include <limits>
Go to the source code of this file.
Classes | |
struct | m5::unit::ina226::Data |
Measurement data group. More... | |
class | m5::unit::UnitINA226 |
Base class for INA226 unit. More... | |
struct | m5::unit::UnitINA226::config_t |
Settings for begin. More... | |
class | m5::unit::UnitINA226_10A |
UnitINA226_10A unit. More... | |
class | m5::unit::UnitINA226_1A |
UnitINA226_1A unit. More... | |
Namespaces | |
namespace | m5 |
Top level namespace of M5stack. | |
Enumerations | |
enum class | m5::unit::ina226::Sampling : uint8_t { Rate1 , Rate4 , Rate16 , Rate64 , Rate128 , Rate256 , Rate512 , Rate1024 } |
The number of samples that are collected and averaged. More... | |
enum class | m5::unit::ina226::ConversionTime : uint8_t { US_140 , US_204 , US_332 , US_588 , US_1100 , US_2116 , US_4156 , US_8244 } |
The conversion time for the bus voltage measurement. More... | |
enum class | m5::unit::ina226::Mode : uint8_t { PowerDown , ShuntVoltageSingle , BusVoltageSingle , ShuntAndBusSingle , ShuntVoltage = 0x05 , BusVoltage , ShuntAndBus } |
Operation mode. More... | |
enum class | m5::unit::ina226::Alert : int8_t { Unknown = -1 , None , ShuntOver , ShuntUnder , BusOver , BusUnder , PowerOver , ConversionReady } |
Alert type. More... | |
INA226 Unit for M5UnitUnified.
|
strong |
|
strong |
|
strong |
Operation mode.
|
strong |