ESPHome  2024.12.2
Namespaces | Variables
ade7880_registers.h File Reference

Go to the source code of this file.

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::ade7880
 

Variables

constexpr uint16_t esphome::ade7880::AIGAIN = 0x4380
 
constexpr uint16_t esphome::ade7880::AVGAIN = 0x4381
 
constexpr uint16_t esphome::ade7880::BIGAIN = 0x4382
 
constexpr uint16_t esphome::ade7880::BVGAIN = 0x4383
 
constexpr uint16_t esphome::ade7880::CIGAIN = 0x4384
 
constexpr uint16_t esphome::ade7880::CVGAIN = 0x4385
 
constexpr uint16_t esphome::ade7880::NIGAIN = 0x4386
 
constexpr uint16_t esphome::ade7880::DICOEFF = 0x4388
 
constexpr uint16_t esphome::ade7880::APGAIN = 0x4389
 
constexpr uint16_t esphome::ade7880::AWATTOS = 0x438A
 
constexpr uint16_t esphome::ade7880::BPGAIN = 0x438B
 
constexpr uint16_t esphome::ade7880::BWATTOS = 0x438C
 
constexpr uint16_t esphome::ade7880::CPGAIN = 0x438D
 
constexpr uint16_t esphome::ade7880::CWATTOS = 0x438E
 
constexpr uint16_t esphome::ade7880::AIRMSOS = 0x438F
 
constexpr uint16_t esphome::ade7880::AVRMSOS = 0x4390
 
constexpr uint16_t esphome::ade7880::BIRMSOS = 0x4391
 
constexpr uint16_t esphome::ade7880::BVRMSOS = 0x4392
 
constexpr uint16_t esphome::ade7880::CIRMSOS = 0x4393
 
constexpr uint16_t esphome::ade7880::CVRMSOS = 0x4394
 
constexpr uint16_t esphome::ade7880::NIRMSOS = 0x4395
 
constexpr uint16_t esphome::ade7880::HPGAIN = 0x4398
 
constexpr uint16_t esphome::ade7880::ISUMLVL = 0x4399
 
constexpr uint16_t esphome::ade7880::VLEVEL = 0x439F
 
constexpr uint16_t esphome::ade7880::AFWATTOS = 0x43A2
 
constexpr uint16_t esphome::ade7880::BFWATTOS = 0x43A3
 
constexpr uint16_t esphome::ade7880::CFWATTOS = 0x43A4
 
constexpr uint16_t esphome::ade7880::AFVAROS = 0x43A5
 
constexpr uint16_t esphome::ade7880::BFVAROS = 0x43A6
 
constexpr uint16_t esphome::ade7880::CFVAROS = 0x43A7
 
constexpr uint16_t esphome::ade7880::AFIRMSOS = 0x43A8
 
constexpr uint16_t esphome::ade7880::BFIRMSOS = 0x43A9
 
constexpr uint16_t esphome::ade7880::CFIRMSOS = 0x43AA
 
constexpr uint16_t esphome::ade7880::AFVRMSOS = 0x43AB
 
constexpr uint16_t esphome::ade7880::BFVRMSOS = 0x43AC
 
constexpr uint16_t esphome::ade7880::CFVRMSOS = 0x43AD
 
constexpr uint16_t esphome::ade7880::HXWATTOS = 0x43AE
 
constexpr uint16_t esphome::ade7880::HYWATTOS = 0x43AF
 
constexpr uint16_t esphome::ade7880::HZWATTOS = 0x43B0
 
constexpr uint16_t esphome::ade7880::HXVAROS = 0x43B1
 
constexpr uint16_t esphome::ade7880::HYVAROS = 0x43B2
 
constexpr uint16_t esphome::ade7880::HZVAROS = 0x43B3
 
constexpr uint16_t esphome::ade7880::HXIRMSOS = 0x43B4
 
constexpr uint16_t esphome::ade7880::HYIRMSOS = 0x43B5
 
constexpr uint16_t esphome::ade7880::HZIRMSOS = 0x43B6
 
constexpr uint16_t esphome::ade7880::HXVRMSOS = 0x43B7
 
constexpr uint16_t esphome::ade7880::HYVRMSOS = 0x43B8
 
constexpr uint16_t esphome::ade7880::HZVRMSOS = 0x43B9
 
constexpr uint16_t esphome::ade7880::AIRMS = 0x43C0
 
constexpr uint16_t esphome::ade7880::AVRMS = 0x43C1
 
constexpr uint16_t esphome::ade7880::BIRMS = 0x43C2
 
constexpr uint16_t esphome::ade7880::BVRMS = 0x43C3
 
constexpr uint16_t esphome::ade7880::CIRMS = 0x43C4
 
constexpr uint16_t esphome::ade7880::CVRMS = 0x43C5
 
constexpr uint16_t esphome::ade7880::NIRMS = 0x43C6
 
constexpr uint16_t esphome::ade7880::ISUM = 0x43C7
 
constexpr uint16_t esphome::ade7880::RUN = 0xE228
 
constexpr uint16_t esphome::ade7880::AWATTHR = 0xE400
 
constexpr uint16_t esphome::ade7880::BWATTHR = 0xE401
 
constexpr uint16_t esphome::ade7880::CWATTHR = 0xE402
 
constexpr uint16_t esphome::ade7880::AFWATTHR = 0xE403
 
constexpr uint16_t esphome::ade7880::BFWATTHR = 0xE404
 
constexpr uint16_t esphome::ade7880::CFWATTHR = 0xE405
 
constexpr uint16_t esphome::ade7880::AFVARHR = 0xE409
 
constexpr uint16_t esphome::ade7880::BFVARHR = 0xE40A
 
constexpr uint16_t esphome::ade7880::CFVARHR = 0xE40B
 
constexpr uint16_t esphome::ade7880::AVAHR = 0xE40C
 
constexpr uint16_t esphome::ade7880::BVAHR = 0xE40D
 
constexpr uint16_t esphome::ade7880::CVAHR = 0xE40E
 
constexpr uint16_t esphome::ade7880::IPEAK = 0xE500
 
constexpr uint16_t esphome::ade7880::VPEAK = 0xE501
 
constexpr uint16_t esphome::ade7880::STATUS0 = 0xE502
 
constexpr uint16_t esphome::ade7880::STATUS1 = 0xE503
 
constexpr uint16_t esphome::ade7880::AIMAV = 0xE504
 
constexpr uint16_t esphome::ade7880::BIMAV = 0xE505
 
constexpr uint16_t esphome::ade7880::CIMAV = 0xE506
 
constexpr uint16_t esphome::ade7880::OILVL = 0xE507
 
constexpr uint16_t esphome::ade7880::OVLVL = 0xE508
 
constexpr uint16_t esphome::ade7880::SAGLVL = 0xE509
 
constexpr uint16_t esphome::ade7880::MASK0 = 0xE50A
 
constexpr uint16_t esphome::ade7880::MASK1 = 0xE50B
 
constexpr uint16_t esphome::ade7880::IAWV = 0xE50C
 
constexpr uint16_t esphome::ade7880::IBWV = 0xE50D
 
constexpr uint16_t esphome::ade7880::ICWV = 0xE50E
 
constexpr uint16_t esphome::ade7880::INWV = 0xE50F
 
constexpr uint16_t esphome::ade7880::VAWV = 0xE510
 
constexpr uint16_t esphome::ade7880::VBWV = 0xE511
 
constexpr uint16_t esphome::ade7880::VCWV = 0xE512
 
constexpr uint16_t esphome::ade7880::AWATT = 0xE513
 
constexpr uint16_t esphome::ade7880::BWATT = 0xE514
 
constexpr uint16_t esphome::ade7880::CWATT = 0xE515
 
constexpr uint16_t esphome::ade7880::AFVAR = 0xE516
 
constexpr uint16_t esphome::ade7880::BFVAR = 0xE517
 
constexpr uint16_t esphome::ade7880::CFVAR = 0xE518
 
constexpr uint16_t esphome::ade7880::AVA = 0xE519
 
constexpr uint16_t esphome::ade7880::BVA = 0xE51A
 
constexpr uint16_t esphome::ade7880::CVA = 0xE51B
 
constexpr uint16_t esphome::ade7880::CHECKSUM = 0xE51F
 
constexpr uint16_t esphome::ade7880::VNOM = 0xE520
 
constexpr uint16_t esphome::ade7880::LAST_RWDATA_24BIT = 0xE5FF
 
constexpr uint16_t esphome::ade7880::PHSTATUS = 0xE600
 
constexpr uint16_t esphome::ade7880::ANGLE0 = 0xE601
 
constexpr uint16_t esphome::ade7880::ANGLE1 = 0xE602
 
constexpr uint16_t esphome::ade7880::ANGLE2 = 0xE603
 
constexpr uint16_t esphome::ade7880::PHNOLOAD = 0xE608
 
constexpr uint16_t esphome::ade7880::LINECYC = 0xE60C
 
constexpr uint16_t esphome::ade7880::ZXTOUT = 0xE60D
 
constexpr uint16_t esphome::ade7880::COMPMODE = 0xE60E
 
constexpr uint16_t esphome::ade7880::GAIN = 0xE60F
 
constexpr uint16_t esphome::ade7880::CFMODE = 0xE610
 
constexpr uint16_t esphome::ade7880::CF1DEN = 0xE611
 
constexpr uint16_t esphome::ade7880::CF2DEN = 0xE612
 
constexpr uint16_t esphome::ade7880::CF3DEN = 0xE613
 
constexpr uint16_t esphome::ade7880::APHCAL = 0xE614
 
constexpr uint16_t esphome::ade7880::BPHCAL = 0xE615
 
constexpr uint16_t esphome::ade7880::CPHCAL = 0xE616
 
constexpr uint16_t esphome::ade7880::PHSIGN = 0xE617
 
constexpr uint16_t esphome::ade7880::CONFIG = 0xE618
 
constexpr uint16_t esphome::ade7880::MMODE = 0xE700
 
constexpr uint16_t esphome::ade7880::ACCMODE = 0xE701
 
constexpr uint16_t esphome::ade7880::LCYCMODE = 0xE702
 
constexpr uint16_t esphome::ade7880::PEAKCYC = 0xE703
 
constexpr uint16_t esphome::ade7880::SAGCYC = 0xE704
 
constexpr uint16_t esphome::ade7880::CFCYC = 0xE705
 
constexpr uint16_t esphome::ade7880::HSDC_CFG = 0xE706
 
constexpr uint16_t esphome::ade7880::VERSION = 0xE707
 
constexpr uint16_t esphome::ade7880::DSPWP_SET = 0xE7E3
 
constexpr uint16_t esphome::ade7880::LAST_RWDATA_8BIT = 0xE7FD
 
constexpr uint16_t esphome::ade7880::DSPWP_SEL = 0xE7FE
 
constexpr uint16_t esphome::ade7880::FVRMS = 0xE880
 
constexpr uint16_t esphome::ade7880::FIRMS = 0xE881
 
constexpr uint16_t esphome::ade7880::FWATT = 0xE882
 
constexpr uint16_t esphome::ade7880::FVAR = 0xE883
 
constexpr uint16_t esphome::ade7880::FVA = 0xE884
 
constexpr uint16_t esphome::ade7880::FPF = 0xE885
 
constexpr uint16_t esphome::ade7880::VTHDN = 0xE886
 
constexpr uint16_t esphome::ade7880::ITHDN = 0xE887
 
constexpr uint16_t esphome::ade7880::HXVRMS = 0xE888
 
constexpr uint16_t esphome::ade7880::HXIRMS = 0xE889
 
constexpr uint16_t esphome::ade7880::HXWATT = 0xE88A
 
constexpr uint16_t esphome::ade7880::HXVAR = 0xE88B
 
constexpr uint16_t esphome::ade7880::HXVA = 0xE88C
 
constexpr uint16_t esphome::ade7880::HXPF = 0xE88D
 
constexpr uint16_t esphome::ade7880::HXVHD = 0xE88E
 
constexpr uint16_t esphome::ade7880::HXIHD = 0xE88F
 
constexpr uint16_t esphome::ade7880::HYVRMS = 0xE890
 
constexpr uint16_t esphome::ade7880::HYIRMS = 0xE891
 
constexpr uint16_t esphome::ade7880::HYWATT = 0xE892
 
constexpr uint16_t esphome::ade7880::HYVAR = 0xE893
 
constexpr uint16_t esphome::ade7880::HYVA = 0xE894
 
constexpr uint16_t esphome::ade7880::HYPF = 0xE895
 
constexpr uint16_t esphome::ade7880::HYVHD = 0xE896
 
constexpr uint16_t esphome::ade7880::HYIHD = 0xE897
 
constexpr uint16_t esphome::ade7880::HZVRMS = 0xE898
 
constexpr uint16_t esphome::ade7880::HZIRMS = 0xE899
 
constexpr uint16_t esphome::ade7880::HZWATT = 0xE89A
 
constexpr uint16_t esphome::ade7880::HZVAR = 0xE89B
 
constexpr uint16_t esphome::ade7880::HZVA = 0xE89C
 
constexpr uint16_t esphome::ade7880::HZPF = 0xE89D
 
constexpr uint16_t esphome::ade7880::HZVHD = 0xE89E
 
constexpr uint16_t esphome::ade7880::HZIHD = 0xE89F
 
constexpr uint16_t esphome::ade7880::HCONFIG = 0xE900
 
constexpr uint16_t esphome::ade7880::APF = 0xE902
 
constexpr uint16_t esphome::ade7880::BPF = 0xE903
 
constexpr uint16_t esphome::ade7880::CPF = 0xE904
 
constexpr uint16_t esphome::ade7880::APERIOD = 0xE905
 
constexpr uint16_t esphome::ade7880::BPERIOD = 0xE906
 
constexpr uint16_t esphome::ade7880::CPERIOD = 0xE907
 
constexpr uint16_t esphome::ade7880::APNOLOAD = 0xE908
 
constexpr uint16_t esphome::ade7880::VARNOLOAD = 0xE909
 
constexpr uint16_t esphome::ade7880::VANOLOAD = 0xE90A
 
constexpr uint16_t esphome::ade7880::LAST_ADD = 0xE9FE
 
constexpr uint16_t esphome::ade7880::LAST_RWDATA_16BIT = 0xE9FF
 
constexpr uint16_t esphome::ade7880::CONFIG3 = 0xEA00
 
constexpr uint16_t esphome::ade7880::LAST_OP = 0xEA01
 
constexpr uint16_t esphome::ade7880::WTHR = 0xEA02
 
constexpr uint16_t esphome::ade7880::VARTHR = 0xEA03
 
constexpr uint16_t esphome::ade7880::VATHR = 0xEA04
 
constexpr uint16_t esphome::ade7880::HX_REG = 0xEA08
 
constexpr uint16_t esphome::ade7880::HY_REG = 0xEA09
 
constexpr uint16_t esphome::ade7880::HZ_REG = 0xEA0A
 
constexpr uint16_t esphome::ade7880::LPOILVL = 0xEC00
 
constexpr uint16_t esphome::ade7880::CONFIG2 = 0xEC01
 
constexpr uint32_t esphome::ade7880::STATUS1_RSTDONE = (1 << 15)
 
constexpr uint16_t esphome::ade7880::CONFIG_SWRST = (1 << 7)
 
constexpr uint8_t esphome::ade7880::CONFIG2_I2C_LOCK = (1 << 1)
 
constexpr uint16_t esphome::ade7880::COMPMODE_DEFAULT = 0x01FF
 
constexpr uint16_t esphome::ade7880::COMPMODE_SELFREQ = (1 << 14)
 
constexpr uint16_t esphome::ade7880::RUN_ENABLE = (1 << 0)
 
constexpr uint8_t esphome::ade7880::DSPWP_SET_RO = (1 << 7)
 
constexpr uint8_t esphome::ade7880::DSPWP_SEL_SET = 0xAD