|
SparkFun Qwiic Current Sensor - ADE7953
v1.0.0-3-g9a02684
Arduino Library for the SparkFun Qwiic Current Sensor (ADE7953)
|
Bitfield union for the 16-bit CONFIG register (0x102). More...
#include <sfDevADE7953.h>
Public Attributes | |
| struct { | |
| uint16_t intEnA: 1 | |
| Integrator enable (Channel A) [bit 0]. More... | |
| uint16_t intEnB: 1 | |
| Integrator enable (Channel B) [bit 1]. More... | |
| uint16_t hpfEn: 1 | |
| HPF enable (all channels) [bit 2]. More... | |
| uint16_t pfMode: 1 | |
| Power factor mode [bit 3]. More... | |
| uint16_t revpCF: 1 | |
| REVP updated on CF1(0) or CF2(1) [bit 4]. More... | |
| uint16_t revpPulse: 1 | |
| REVP output mode [bit 5]. More... | |
| uint16_t zxLPF: 1 | |
| ZX LPF disable (1=disabled) [bit 6]. More... | |
| uint16_t swRst: 1 | |
| Software reset [bit 7]. More... | |
| uint16_t crcEn: 1 | |
| CRC enable [bit 8]. More... | |
| uint16_t __pad0__: 2 | |
| Reserved [bits 9-10]. More... | |
| uint16_t zxI: 1 | |
| ZX_I source: 0=Channel A, 1=Channel B [bit 11]. More... | |
| uint16_t zxEdge: 2 | |
| ZX edge selection (see sfe_ade7953_zx_edge_t) [bits 13:12]. More... | |
| uint16_t __pad1__: 1 | |
| Reserved [bit 14]. More... | |
| uint16_t commLock: 1 | |
| Communication locking (1=disabled) [bit 15]. More... | |
| }; | |
| uint16_t | word |
| Raw register value for I2C read/write. More... | |
Bitfield union for the 16-bit CONFIG register (0x102).
| struct { ... } sfe_ade7953_config_reg_t::@1 |
| uint16_t sfe_ade7953_config_reg_t::__pad0__ |
Reserved [bits 9-10].
| uint16_t sfe_ade7953_config_reg_t::__pad1__ |
Reserved [bit 14].
| uint16_t sfe_ade7953_config_reg_t::commLock |
Communication locking (1=disabled) [bit 15].
| uint16_t sfe_ade7953_config_reg_t::crcEn |
CRC enable [bit 8].
| uint16_t sfe_ade7953_config_reg_t::hpfEn |
HPF enable (all channels) [bit 2].
| uint16_t sfe_ade7953_config_reg_t::intEnA |
Integrator enable (Channel A) [bit 0].
| uint16_t sfe_ade7953_config_reg_t::intEnB |
Integrator enable (Channel B) [bit 1].
| uint16_t sfe_ade7953_config_reg_t::pfMode |
Power factor mode [bit 3].
| uint16_t sfe_ade7953_config_reg_t::revpCF |
REVP updated on CF1(0) or CF2(1) [bit 4].
| uint16_t sfe_ade7953_config_reg_t::revpPulse |
REVP output mode [bit 5].
| uint16_t sfe_ade7953_config_reg_t::swRst |
Software reset [bit 7].
| uint16_t sfe_ade7953_config_reg_t::word |
Raw register value for I2C read/write.
| uint16_t sfe_ade7953_config_reg_t::zxEdge |
ZX edge selection (see sfe_ade7953_zx_edge_t) [bits 13:12].
| uint16_t sfe_ade7953_config_reg_t::zxI |
ZX_I source: 0=Channel A, 1=Channel B [bit 11].
| uint16_t sfe_ade7953_config_reg_t::zxLPF |
ZX LPF disable (1=disabled) [bit 6].