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_irq_reg_t Union Reference

Bitfield union for the 32-bit IRQ enable and status registers. More...

#include <sfDevADE7953.h>

Public Attributes

struct {
   uint32_t   aehf: 1
 Active energy half full [bit 0]. More...
 
   uint32_t   varehf: 1
 Reactive energy half full [bit 1]. More...
 
   uint32_t   vaehf: 1
 Apparent energy half full [bit 2]. More...
 
   uint32_t   aeof: 1
 Active energy overflow/underflow [bit 3]. More...
 
   uint32_t   vareof: 1
 Reactive energy overflow/underflow [bit 4]. More...
 
   uint32_t   vaeof: 1
 Apparent energy overflow/underflow [bit 5]. More...
 
   uint32_t   apNoLoad: 1
 Active power no-load detected [bit 6]. More...
 
   uint32_t   varNoLoad: 1
 Reactive power no-load detected [bit 7]. More...
 
   uint32_t   vaNoLoad: 1
 Apparent power no-load detected [bit 8]. More...
 
   uint32_t   apSign: 1
 Active energy sign changed [bit 9]. More...
 
   uint32_t   varSign: 1
 Reactive energy sign changed [bit 10]. More...
 
   uint32_t   zxToI: 1
 Current zero-crossing timeout [bit 11]. More...
 
   uint32_t   zxI: 1
 Current zero-crossing detected [bit 12]. More...
 
   uint32_t   oI: 1
 Overcurrent threshold exceeded [bit 13]. More...
 
   uint32_t   zxToV: 1
 Voltage zero-crossing timeout (Channel A only) [bit 14]. More...
 
   uint32_t   zxV: 1
 Voltage zero-crossing detected (Channel A only) [bit 15]. More...
 
   uint32_t   oV: 1
 Overvoltage threshold exceeded (Channel A only) [bit 16]. More...
 
   uint32_t   wSmp: 1
 New waveform data acquired (Channel A only) [bit 17]. More...
 
   uint32_t   cycEnd: 1
 End of line cycle accumulation period (Channel A only) [bit 18]. More...
 
   uint32_t   sag: 1
 Sag event occurred (Channel A only) [bit 19]. More...
 
   uint32_t   reset: 1
 Reset occurred — always enabled (Channel A only) [bit 20]. More...
 
   uint32_t   crc: 1
 Checksum changed (Channel A only) [bit 21]. More...
 
   uint32_t   __pad0__: 10
 Reserved [bits 22-31]. More...
 
}; 
 
uint32_t word
 Raw register value for I2C read/write. More...
 

Detailed Description

Bitfield union for the 32-bit IRQ enable and status registers.

Member Data Documentation

◆ 

struct { ... } sfe_ade7953_irq_reg_t::@7

◆ __pad0__

uint32_t sfe_ade7953_irq_reg_t::__pad0__

Reserved [bits 22-31].

◆ aehf

uint32_t sfe_ade7953_irq_reg_t::aehf

Active energy half full [bit 0].

◆ aeof

uint32_t sfe_ade7953_irq_reg_t::aeof

Active energy overflow/underflow [bit 3].

◆ apNoLoad

uint32_t sfe_ade7953_irq_reg_t::apNoLoad

Active power no-load detected [bit 6].

◆ apSign

uint32_t sfe_ade7953_irq_reg_t::apSign

Active energy sign changed [bit 9].

◆ crc

uint32_t sfe_ade7953_irq_reg_t::crc

Checksum changed (Channel A only) [bit 21].

◆ cycEnd

uint32_t sfe_ade7953_irq_reg_t::cycEnd

End of line cycle accumulation period (Channel A only) [bit 18].

◆ oI

uint32_t sfe_ade7953_irq_reg_t::oI

Overcurrent threshold exceeded [bit 13].

◆ oV

uint32_t sfe_ade7953_irq_reg_t::oV

Overvoltage threshold exceeded (Channel A only) [bit 16].

◆ reset

uint32_t sfe_ade7953_irq_reg_t::reset

Reset occurred — always enabled (Channel A only) [bit 20].

◆ sag

uint32_t sfe_ade7953_irq_reg_t::sag

Sag event occurred (Channel A only) [bit 19].

◆ vaehf

uint32_t sfe_ade7953_irq_reg_t::vaehf

Apparent energy half full [bit 2].

◆ vaeof

uint32_t sfe_ade7953_irq_reg_t::vaeof

Apparent energy overflow/underflow [bit 5].

◆ vaNoLoad

uint32_t sfe_ade7953_irq_reg_t::vaNoLoad

Apparent power no-load detected [bit 8].

◆ varehf

uint32_t sfe_ade7953_irq_reg_t::varehf

Reactive energy half full [bit 1].

◆ vareof

uint32_t sfe_ade7953_irq_reg_t::vareof

Reactive energy overflow/underflow [bit 4].

◆ varNoLoad

uint32_t sfe_ade7953_irq_reg_t::varNoLoad

Reactive power no-load detected [bit 7].

◆ varSign

uint32_t sfe_ade7953_irq_reg_t::varSign

Reactive energy sign changed [bit 10].

◆ word

uint32_t sfe_ade7953_irq_reg_t::word

Raw register value for I2C read/write.

◆ wSmp

uint32_t sfe_ade7953_irq_reg_t::wSmp

New waveform data acquired (Channel A only) [bit 17].

◆ zxI

uint32_t sfe_ade7953_irq_reg_t::zxI

Current zero-crossing detected [bit 12].

◆ zxToI

uint32_t sfe_ade7953_irq_reg_t::zxToI

Current zero-crossing timeout [bit 11].

◆ zxToV

uint32_t sfe_ade7953_irq_reg_t::zxToV

Voltage zero-crossing timeout (Channel A only) [bit 14].

◆ zxV

uint32_t sfe_ade7953_irq_reg_t::zxV

Voltage zero-crossing detected (Channel A only) [bit 15].


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