ESPHome 2026.12.0-dev
Loading...
Searching...
No Matches
esphome::ads131m0x::Snapshot Struct Reference

Result of one measurement window, in volts at the ADC input. More...

#include <ads131m0x.h>

Data Fields

std::array< float, MAX_CHANNELS > rms {}
 RMS of the AC component (DC offset removed)
 
std::array< float, MAX_CHANNELS > mean {}
 Mean (DC) value.
 
uint32_t sequence {0}
 Incremented with every completed window; 0 = no valid data.
 
uint32_t timestamp_ms {0}
 millis() at the end of the window
 

Detailed Description

Result of one measurement window, in volts at the ADC input.

Definition at line 28 of file ads131m0x.h.

Field Documentation

◆ mean

std::array<float, MAX_CHANNELS> esphome::ads131m0x::Snapshot::mean {}

Mean (DC) value.

Definition at line 30 of file ads131m0x.h.

◆ rms

std::array<float, MAX_CHANNELS> esphome::ads131m0x::Snapshot::rms {}

RMS of the AC component (DC offset removed)

Definition at line 29 of file ads131m0x.h.

◆ sequence

uint32_t esphome::ads131m0x::Snapshot::sequence {0}

Incremented with every completed window; 0 = no valid data.

Definition at line 31 of file ads131m0x.h.

◆ timestamp_ms

uint32_t esphome::ads131m0x::Snapshot::timestamp_ms {0}

millis() at the end of the window

Definition at line 32 of file ads131m0x.h.


The documentation for this struct was generated from the following file: