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