ADE120x Library Files

Embed: (wiki syntax)

« Back to documentation index

EnergyMtrCfg_Type Struct Reference

EnergyMtrCfg_Type Struct Reference

Structure for configuring energy meter. More...

#include <ADE120x.h>

Data Fields

float FET_Energy
 Enable energy meter function.
float PulseMagnitude
 SOA energy of exernal FET used.
float PulseTime
 AMplitude of current pulse in mA.
float WorkingVoltage
 Length of current pulse in ms.
uint32_t AvgADCCode
 Working voltage of system in V.
float SampleRate
 Average ADC code.
uint8_t Cooldown_TimeStep
 Sample rate, 20us for ADE1202, 10us foe ADE1201.
uint8_t Cooldown_Decr
 Set cooldown timestep.
uint8_t Ov_Scale
 Set cooldown period.
uint8_t ADCPga
 Set over voltage scale factor.
float VGain
 ADC PGA setting.

Detailed Description

Structure for configuring energy meter.

Definition at line 63 of file ADE120x.h.


Field Documentation

uint8_t ADCPga

Set over voltage scale factor.

Definition at line 75 of file ADE120x.h.

uint32_t AvgADCCode

Working voltage of system in V.

Definition at line 69 of file ADE120x.h.

uint8_t Cooldown_Decr

Set cooldown timestep.

Definition at line 72 of file ADE120x.h.

Sample rate, 20us for ADE1202, 10us foe ADE1201.

Definition at line 71 of file ADE120x.h.

float FET_Energy

Enable energy meter function.

Definition at line 65 of file ADE120x.h.

uint8_t Ov_Scale

Set cooldown period.

Definition at line 74 of file ADE120x.h.

SOA energy of exernal FET used.

Definition at line 66 of file ADE120x.h.

float PulseTime

AMplitude of current pulse in mA.

Definition at line 67 of file ADE120x.h.

float SampleRate

Average ADC code.

Definition at line 70 of file ADE120x.h.

float VGain

ADC PGA setting.

Definition at line 76 of file ADE120x.h.

Length of current pulse in ms.

Definition at line 68 of file ADE120x.h.