SparkFun Qwiic Current Sensor - ADE7953  v1.0.0-3-g9a02684
Arduino Library for the SparkFun Qwiic Current Sensor (ADE7953)
Loading...
Searching...
No Matches
sfe_ade7953_config_reg_t Union Reference

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...
 

Detailed Description

Bitfield union for the 16-bit CONFIG register (0x102).

Member Data Documentation

◆ 

struct { ... } sfe_ade7953_config_reg_t::@1

◆ __pad0__

uint16_t sfe_ade7953_config_reg_t::__pad0__

Reserved [bits 9-10].

◆ __pad1__

uint16_t sfe_ade7953_config_reg_t::__pad1__

Reserved [bit 14].

◆ commLock

uint16_t sfe_ade7953_config_reg_t::commLock

Communication locking (1=disabled) [bit 15].

◆ crcEn

uint16_t sfe_ade7953_config_reg_t::crcEn

CRC enable [bit 8].

◆ hpfEn

uint16_t sfe_ade7953_config_reg_t::hpfEn

HPF enable (all channels) [bit 2].

◆ intEnA

uint16_t sfe_ade7953_config_reg_t::intEnA

Integrator enable (Channel A) [bit 0].

◆ intEnB

uint16_t sfe_ade7953_config_reg_t::intEnB

Integrator enable (Channel B) [bit 1].

◆ pfMode

uint16_t sfe_ade7953_config_reg_t::pfMode

Power factor mode [bit 3].

◆ revpCF

uint16_t sfe_ade7953_config_reg_t::revpCF

REVP updated on CF1(0) or CF2(1) [bit 4].

◆ revpPulse

uint16_t sfe_ade7953_config_reg_t::revpPulse

REVP output mode [bit 5].

◆ swRst

uint16_t sfe_ade7953_config_reg_t::swRst

Software reset [bit 7].

◆ word

uint16_t sfe_ade7953_config_reg_t::word

Raw register value for I2C read/write.

◆ zxEdge

uint16_t sfe_ade7953_config_reg_t::zxEdge

ZX edge selection (see sfe_ade7953_zx_edge_t) [bits 13:12].

◆ zxI

uint16_t sfe_ade7953_config_reg_t::zxI

ZX_I source: 0=Channel A, 1=Channel B [bit 11].

◆ zxLPF

uint16_t sfe_ade7953_config_reg_t::zxLPF

ZX LPF disable (1=disabled) [bit 6].


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