ESPHome  2024.12.2
Data Fields
esphome::bl0939::DataPacket Union Reference

#include <bl0939.h>

Data Fields

uint8_t raw [35]
 
struct {
   uint8_t   frame_header
 
   ube24_t   ia_fast_rms
 
   ube24_t   ia_rms
 
   ube24_t   ib_rms
 
   ube24_t   v_rms
 
   ube24_t   ib_fast_rms
 
   sbe24_t   a_watt
 
   sbe24_t   b_watt
 
   sbe24_t   cfa_cnt
 
   sbe24_t   cfb_cnt
 
   ube16_t   tps1
 
   uint8_t   RESERVED1
 
   ube16_t   tps2
 
   uint8_t   RESERVED2
 
   uint8_t   checksum
 
}; 
 

Detailed Description

Definition at line 39 of file bl0939.h.

Field Documentation

◆ @16

struct { ... }

◆ a_watt

sbe24_t esphome::bl0939::DataPacket::a_watt

Definition at line 48 of file bl0939.h.

◆ b_watt

sbe24_t esphome::bl0939::DataPacket::b_watt

Definition at line 49 of file bl0939.h.

◆ cfa_cnt

sbe24_t esphome::bl0939::DataPacket::cfa_cnt

Definition at line 50 of file bl0939.h.

◆ cfb_cnt

sbe24_t esphome::bl0939::DataPacket::cfb_cnt

Definition at line 51 of file bl0939.h.

◆ checksum

uint8_t esphome::bl0939::DataPacket::checksum

Definition at line 56 of file bl0939.h.

◆ frame_header

uint8_t esphome::bl0939::DataPacket::frame_header

Definition at line 42 of file bl0939.h.

◆ ia_fast_rms

ube24_t esphome::bl0939::DataPacket::ia_fast_rms

Definition at line 43 of file bl0939.h.

◆ ia_rms

ube24_t esphome::bl0939::DataPacket::ia_rms

Definition at line 44 of file bl0939.h.

◆ ib_fast_rms

ube24_t esphome::bl0939::DataPacket::ib_fast_rms

Definition at line 47 of file bl0939.h.

◆ ib_rms

ube24_t esphome::bl0939::DataPacket::ib_rms

Definition at line 45 of file bl0939.h.

◆ raw

uint8_t esphome::bl0939::DataPacket::raw[35]

Definition at line 40 of file bl0939.h.

◆ RESERVED1

uint8_t esphome::bl0939::DataPacket::RESERVED1

Definition at line 53 of file bl0939.h.

◆ RESERVED2

uint8_t esphome::bl0939::DataPacket::RESERVED2

Definition at line 55 of file bl0939.h.

◆ tps1

ube16_t esphome::bl0939::DataPacket::tps1

Definition at line 52 of file bl0939.h.

◆ tps2

ube16_t esphome::bl0939::DataPacket::tps2

Definition at line 54 of file bl0939.h.

◆ v_rms

ube24_t esphome::bl0939::DataPacket::v_rms

Definition at line 46 of file bl0939.h.


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