ESPHome  2024.11.0
Data Fields
esphome::bl0940::DataPacket Union Reference

#include <bl0940.h>

Data Fields

uint8_t raw [35]
 
struct {
   uint8_t   frame_header
 
   ube24_t   i_fast_rms
 
   ube24_t   i_rms
 
   ube24_t   RESERVED0
 
   ube24_t   v_rms
 
   ube24_t   RESERVED1
 
   sbe24_t   watt
 
   ube24_t   RESERVED2
 
   ube24_t   cf_cnt
 
   ube24_t   RESERVED3
 
   ube16_t   tps1
 
   uint8_t   RESERVED4
 
   ube16_t   tps2
 
   uint8_t   RESERVED5
 
   uint8_t   checksum
 
}; 
 

Detailed Description

Definition at line 37 of file bl0940.h.

Field Documentation

◆ @20

struct { ... }

◆ cf_cnt

ube24_t esphome::bl0940::DataPacket::cf_cnt

Definition at line 48 of file bl0940.h.

◆ checksum

uint8_t esphome::bl0940::DataPacket::checksum

Definition at line 54 of file bl0940.h.

◆ frame_header

uint8_t esphome::bl0940::DataPacket::frame_header

Definition at line 40 of file bl0940.h.

◆ i_fast_rms

ube24_t esphome::bl0940::DataPacket::i_fast_rms

Definition at line 41 of file bl0940.h.

◆ i_rms

ube24_t esphome::bl0940::DataPacket::i_rms

Definition at line 42 of file bl0940.h.

◆ raw

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

Definition at line 38 of file bl0940.h.

◆ RESERVED0

ube24_t esphome::bl0940::DataPacket::RESERVED0

Definition at line 43 of file bl0940.h.

◆ RESERVED1

ube24_t esphome::bl0940::DataPacket::RESERVED1

Definition at line 45 of file bl0940.h.

◆ RESERVED2

ube24_t esphome::bl0940::DataPacket::RESERVED2

Definition at line 47 of file bl0940.h.

◆ RESERVED3

ube24_t esphome::bl0940::DataPacket::RESERVED3

Definition at line 49 of file bl0940.h.

◆ RESERVED4

uint8_t esphome::bl0940::DataPacket::RESERVED4

Definition at line 51 of file bl0940.h.

◆ RESERVED5

uint8_t esphome::bl0940::DataPacket::RESERVED5

Definition at line 53 of file bl0940.h.

◆ tps1

ube16_t esphome::bl0940::DataPacket::tps1

Definition at line 50 of file bl0940.h.

◆ tps2

ube16_t esphome::bl0940::DataPacket::tps2

Definition at line 52 of file bl0940.h.

◆ v_rms

ube24_t esphome::bl0940::DataPacket::v_rms

Definition at line 44 of file bl0940.h.

◆ watt

sbe24_t esphome::bl0940::DataPacket::watt

Definition at line 46 of file bl0940.h.


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